Color conversion
Color conversion for #2A172A
Complete numeric profile for comparing screens, paints, palettes and digital materials.
Color spaces
| RGB | 42 | 23 | 42 | |
|---|---|---|---|---|
| HSL | 300° | 29.23% | 12.75% | |
| HSV | 300° | 45.24% | 16.47% | |
| CMYK | 0% | 45.24% | 0% | 83.53% |
| XYZ | 1.6791 | 1.2723 | 2.3472 | |
| Yxy | 1.2723 | 0.3169 | 0.2401 | |
| Hunter Lab | 11.2796 | 6.8322 | -4.4372 | |
| CIE-Lab | 11.0804 | 13.4958 | -8.9719 | |
| CIE-LCH | 11.0804 | 16.2059 | 326.3844 | |
| CIE-LUV | 11.0804 | 6.2965 | -8.1411 |
Base numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00101010 | 00010111 | 00101010 |
| Octal | 52 | 27 | 52 |
| Decimal | 42 | 23 | 42 |
| Hex | 2A | 17 | 2A |
RGB percentages
CMYK percentages
Shades #2A172A
Tints #2A172A
Harmony
Color schemes
Complementary
Analogous
Triadic
Split complementary
Tetradic
Rectangle
Monochromatic
#2A172A color on black
#2A172A color sample text
#2A172A color on white
#2A172A color sample text
#2A172A CSS codes
.background { background-color: #2A172A; }
.text { color: #2A172A; }
.border { border: 3px solid #2A172A; }
.shadow { box-shadow: 0 8px 28px rgba(42, 23, 42, 0.35); }
CSS preview
Accessibility
Contrast on white16.75:1AAA
Contrast on black1.25:1Poor
Web safe#330033Near
Luminance0.01270-1
Global naming
Color names in other languages
Use these names to compare international references, paint catalogs and design materials.
English#2A172A color
PortuguêsCor #2A172A
EspañolColor #2A172A
한국어#2A172A 색상
日本語#2A172A の色
中文#2A172A 颜色
DeutschFarbe #2A172A
FrançaisCouleur #2A172A
Pairings
Nearby palette
Useful combinations for testing contrast, emphasis and visual harmony with #2A172A color.
Related shades
See Pinks
Similar colors
Raisin black
Raisin black
Dark purple
Dark purple
Midnight
Midnight
Japanese violet
Japanese violet
Palatinate purple
Palatinate purple
English violet
English violet
Old heliotrope
Old heliotrope
Plum
Plum
Imperial
Imperial
Chinese violet
Chinese violet
Razzmic Berry
Razzmic Berry
Purple taupe
Purple taupe