#2C1069#2C1069
#2C1069 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.140 H 288.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1069 |
|---|---|
| RGB | rgb(44, 16, 105) |
| HSL | hsl(259, 74%, 24%) |
| HSV | hsv(259, 85%, 41%) |
| CMYK | cmyk(58.1%, 84.8%, 0%, 58.8%) |
| CIE-LAB | lab(15.09, 36.54, -46.21) |
| CIE-LCH | lch(15.09, 58.91, 308.34°) |
| OKLab | oklab(28.47% 0.0438 -0.133) |
| OKLCH | oklch(28.47% 0.14 288.2) |
| XYZ | xyz(3.7730, 1.9258, 13.5348) |
| Luminance | 0.0193 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.88
Midnight Blue
#191970
ΔE00 3.94
Darkblue (survey)
#030764
ΔE00 4.50
Dark Royal Blue
#02066F
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 4.65
Deep Blue
#040273
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1069 #4D6910
analogous
#102069 #2C1069 #581069
triadic
#2C1069 #692C10 #10692C
tetradic
#2C1069 #691020 #4D6910 #106958
square
#2C1069 #691020 #4D6910 #106958
split-complementary
#2C1069 #695810 #206910
monochromatic
#0B041B #160834 #2C1069 #42189E #5920D3
Accessibility & contrast
On white
15.16
#2C1069 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2C1069 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1069
15.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1069 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1069 | 1.00 | 15.16 | 1.39 | 15.16 |
| #FFFFFF | 15.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.16 | 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: #2c1069; /* rgb */ color: rgb(44, 16, 105); /* oklch */ color: oklch(28.5% 0.140 288.2);
Tailwind
colors: {
custom: {
50: '#6e5395',
500: '#2c1069',
950: '#000000',
},
}SCSS
$custom: #2c1069; $custom-light: #6e5395; $custom-dark: #000000;
JSON
{
"hex": "#2c1069",
"rgb": {
"r": 44,
"g": 16,
"b": 105
},
"hsl": {
"h": 258.876,
"s": 73.554,
"l": 23.725
},
"oklch": {
"l": 0.28472,
"c": 0.13999,
"h": 288.2
},
"luminance": 0.01926
}Semantic roles & 50–950 ramp
primary
#2C1069
secondary
#7FA134
accent
#F038B6
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020D
muted
#7B787E