#2C1169#2C1169
#2C1169 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.139 H 288.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1169 |
|---|---|
| RGB | rgb(44, 17, 105) |
| HSL | hsl(258, 72%, 24%) |
| HSV | hsv(258, 84%, 41%) |
| CMYK | cmyk(58.1%, 83.8%, 0%, 58.8%) |
| CIE-LAB | lab(15.26, 36.07, -45.94) |
| CIE-LCH | lch(15.26, 58.41, 308.14°) |
| OKLab | oklab(28.59% 0.0431 -0.1322) |
| OKLCH | oklch(28.59% 0.139 288) |
| XYZ | xyz(3.7882, 1.9561, 13.5398) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.82
Dark Indigo
#1F0954
ΔE00 3.91
Darkblue (survey)
#030764
ΔE00 4.56
Dark Royal Blue
#02066F
ΔE00 4.64
Indigo (survey)
#380282
ΔE00 4.75
Deep Blue
#040273
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1169 #4E6911
analogous
#112269 #2C1169 #581169
triadic
#2C1169 #692C11 #11692C
tetradic
#2C1169 #691122 #4E6911 #116958
square
#2C1169 #691122 #4E6911 #116958
split-complementary
#2C1169 #695811 #226911
monochromatic
#0B041A #160834 #2C1169 #421A9E #5822D2
Accessibility & contrast
On white
15.09
#2C1169 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2C1169 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1169
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1169 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1169 | 1.00 | 15.09 | 1.39 | 15.09 |
| #FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#122B3D
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2c1169; /* rgb */ color: rgb(44, 17, 105); /* oklch */ color: oklch(28.6% 0.139 288.0);
Tailwind
colors: {
custom: {
50: '#6e5395',
500: '#2c1169',
950: '#000000',
},
}SCSS
$custom: #2c1169; $custom-light: #6e5395; $custom-dark: #000000;
JSON
{
"hex": "#2c1169",
"rgb": {
"r": 44,
"g": 17,
"b": 105
},
"hsl": {
"h": 258.409,
"s": 72.131,
"l": 23.922
},
"oklch": {
"l": 0.28585,
"c": 0.13905,
"h": 288
},
"luminance": 0.01956
}Semantic roles & 50–950 ramp
primary
#2C1169
secondary
#80A135
accent
#EF39B7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030D
muted
#7A787E