#2C1889#2C1889
#2C1889 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.171 H 279.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1889 |
|---|---|
| RGB | rgb(44, 24, 137) |
| HSL | hsl(251, 70%, 32%) |
| HSV | hsv(251, 82%, 54%) |
| CMYK | cmyk(67.9%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(20.02, 42.48, -58.59) |
| CIE-LCH | lch(20.02, 72.37, 305.94°) |
| OKLab | oklab(32.96% 0.0281 -0.1692) |
| OKLCH | oklch(32.96% 0.171 279.4) |
| XYZ | xyz(5.8793, 2.9944, 23.9302) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.78
Indigo (survey)
#380282
ΔE00 3.74
Darkblue
#00008B
ΔE00 4.51
Midnight Blue
#191970
ΔE00 4.62
Cobalt Blue
#030AA7
ΔE00 4.76
Navy
#000080
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1889 #758918
analogous
#183D89 #2C1889 #651889
triadic
#2C1889 #892C18 #18892C
tetradic
#2C1889 #89183D #758918 #188965
square
#2C1889 #89183D #758918 #188965
split-complementary
#2C1889 #896518 #3D8918
monochromatic
#0B0621 #1B0F55 #2C1889 #3D21BD #5A3EDD
Accessibility & contrast
On white
13.13
#2C1889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2C1889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1889
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1889 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1889; /* rgb */ color: rgb(44, 24, 137); /* oklch */ color: oklch(33.0% 0.171 279.4);
Tailwind
colors: {
custom: {
50: '#7459ad',
500: '#2c1889',
950: '#000000',
},
}SCSS
$custom: #2c1889; $custom-light: #7459ad; $custom-dark: #000000;
JSON
{
"hex": "#2c1889",
"rgb": {
"r": 44,
"g": 24,
"b": 137
},
"hsl": {
"h": 250.619,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.32959,
"c": 0.17149,
"h": 279.4
},
"luminance": 0.02995
}Semantic roles & 50–950 ramp
primary
#2C1889
secondary
#A7BD40
accent
#ED3BCD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F