#2C1885#2C1885
#2C1885 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.167 H 280.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1885 |
|---|---|
| RGB | rgb(44, 24, 133) |
| HSL | hsl(251, 69%, 31%) |
| HSV | hsv(251, 82%, 52%) |
| CMYK | cmyk(66.9%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(19.56, 41.24, -56.83) |
| CIE-LCH | lch(19.56, 70.22, 305.97°) |
| OKLab | oklab(32.51% 0.0293 -0.1641) |
| OKLCH | oklch(32.51% 0.167 280.1) |
| XYZ | xyz(5.5976, 2.8817, 22.4470) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.14
Indigo (survey)
#380282
ΔE00 3.64
Midnight Blue
#191970
ΔE00 4.13
Darkblue
#00008B
ΔE00 4.61
Navy
#000080
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1885 #718518
analogous
#183A85 #2C1885 #621885
triadic
#2C1885 #852C18 #18852C
tetradic
#2C1885 #85183A #718518 #188562
square
#2C1885 #85183A #718518 #188562
split-complementary
#2C1885 #856218 #3A8518
monochromatic
#0A051D #1B0F51 #2C1885 #3D21B9 #593CDC
Accessibility & contrast
On white
13.32
#2C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2C1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1885
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1885 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1885; /* rgb */ color: rgb(44, 24, 133); /* oklch */ color: oklch(32.5% 0.167 280.1);
Tailwind
colors: {
custom: {
50: '#7359aa',
500: '#2c1885',
950: '#000000',
},
}SCSS
$custom: #2c1885; $custom-light: #7359aa; $custom-dark: #000000;
JSON
{
"hex": "#2c1885",
"rgb": {
"r": 44,
"g": 24,
"b": 133
},
"hsl": {
"h": 251.009,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.32507,
"c": 0.16666,
"h": 280.1
},
"luminance": 0.02882
}Semantic roles & 50–950 ramp
primary
#2C1885
secondary
#A3B940
accent
#EC3CCC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F