#2C1884#2C1884
#2C1884 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.165 H 280.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1884 |
|---|---|
| RGB | rgb(44, 24, 132) |
| HSL | hsl(251, 69%, 31%) |
| HSV | hsv(251, 82%, 52%) |
| CMYK | cmyk(66.7%, 81.8%, 0%, 48.2%) |
| CIE-LAB | lab(19.45, 40.93, -56.39) |
| CIE-LCH | lch(19.45, 69.68, 305.97°) |
| OKLab | oklab(32.4% 0.0296 -0.1628) |
| OKLCH | oklch(32.4% 0.165 280.3) |
| XYZ | xyz(5.5289, 2.8542, 22.0849) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Indigo (survey)
#380282
ΔE00 3.64
Midnight Blue
#191970
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.65
Navy
#000080
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1884 #708418
analogous
#183A84 #2C1884 #621884
triadic
#2C1884 #842C18 #18842C
tetradic
#2C1884 #84183A #708418 #188462
square
#2C1884 #84183A #708418 #188462
split-complementary
#2C1884 #846218 #3A8418
monochromatic
#09051C #1B0F50 #2C1884 #3D21B8 #593BDB
Accessibility & contrast
On white
13.37
#2C1884 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2C1884 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1884
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1884 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1884 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1884; /* rgb */ color: rgb(44, 24, 132); /* oklch */ color: oklch(32.4% 0.165 280.3);
Tailwind
colors: {
custom: {
50: '#7359a9',
500: '#2c1884',
950: '#000000',
},
}SCSS
$custom: #2c1884; $custom-light: #7359a9; $custom-dark: #000000;
JSON
{
"hex": "#2c1884",
"rgb": {
"r": 44,
"g": 24,
"b": 132
},
"hsl": {
"h": 251.111,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.32395,
"c": 0.16544,
"h": 280.3
},
"luminance": 0.02855
}Semantic roles & 50–950 ramp
primary
#2C1884
secondary
#A2B840
accent
#EC3CCB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F