#2C1686#2C1686
#2C1686 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.170 H 280.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1686 |
|---|---|
| RGB | rgb(44, 22, 134) |
| HSL | hsl(252, 72%, 31%) |
| HSV | hsv(252, 84%, 53%) |
| CMYK | cmyk(67.2%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.35, 42.50, -57.82) |
| CIE-LCH | lch(19.35, 71.76, 306.32°) |
| OKLab | oklab(32.39% 0.03 -0.1669) |
| OKLCH | oklch(32.39% 0.17 280.2) |
| XYZ | xyz(5.6273, 2.8301, 22.7993) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.07
Indigo (survey)
#380282
ΔE00 3.32
Darkblue
#00008B
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.38
Navy
#000080
ΔE00 4.66
Cobalt Blue
#030AA7
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1686 #708616
analogous
#163886 #2C1686 #641686
triadic
#2C1686 #862C16 #16862C
tetradic
#2C1686 #861638 #708616 #168664
square
#2C1686 #861638 #708616 #168664
split-complementary
#2C1686 #866416 #388616
monochromatic
#09051D #1B0D51 #2C1686 #3D1FBB #5938DE
Accessibility & contrast
On white
13.41
#2C1686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2C1686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1686
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1686 | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1686; /* rgb */ color: rgb(44, 22, 134); /* oklch */ color: oklch(32.4% 0.170 280.2);
Tailwind
colors: {
custom: {
50: '#7358aa',
500: '#2c1686',
950: '#000000',
},
}SCSS
$custom: #2c1686; $custom-light: #7358aa; $custom-dark: #000000;
JSON
{
"hex": "#2c1686",
"rgb": {
"r": 44,
"g": 22,
"b": 134
},
"hsl": {
"h": 251.786,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.32393,
"c": 0.16958,
"h": 280.2
},
"luminance": 0.02831
}Semantic roles & 50–950 ramp
primary
#2C1686
secondary
#A2BA3E
accent
#EF39CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F