#2C1869#2C1869
#2C1869 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.132 H 286.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1869 |
|---|---|
| RGB | rgb(44, 24, 105) |
| HSL | hsl(255, 63%, 25%) |
| HSV | hsv(255, 77%, 41%) |
| CMYK | cmyk(58.1%, 77.1%, 0%, 58.8%) |
| CIE-LAB | lab(16.55, 32.39, -43.82) |
| CIE-LCH | lch(16.55, 54.49, 306.47°) |
| OKLab | oklab(29.49% 0.0374 -0.1261) |
| OKLCH | oklch(29.49% 0.132 286.5) |
| XYZ | xyz(3.9144, 2.2084, 13.5819) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.18
Dark Indigo
#1F0954
ΔE00 4.46
Darkblue (survey)
#030764
ΔE00 5.26
Dark Royal Blue
#02066F
ΔE00 5.46
Indigo (survey)
#380282
ΔE00 5.75
Deep Blue
#040273
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1869 #556918
analogous
#182C69 #2C1869 #541869
triadic
#2C1869 #692C18 #18692C
tetradic
#2C1869 #69182C #556918 #186954
square
#2C1869 #69182C #556918 #186954
split-complementary
#2C1869 #695418 #2C6918
monochromatic
#0A0619 #170D37 #2C1869 #41239B #562FCD
Accessibility & contrast
On white
14.57
#2C1869 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2C1869 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1869
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1869 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1869 | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#112E3F
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2c1869; /* rgb */ color: rgb(44, 24, 105); /* oklch */ color: oklch(29.5% 0.132 286.5);
Tailwind
colors: {
custom: {
50: '#6d5795',
500: '#2c1869',
950: '#000000',
},
}SCSS
$custom: #2c1869; $custom-light: #6d5795; $custom-dark: #000000;
JSON
{
"hex": "#2c1869",
"rgb": {
"r": 44,
"g": 24,
"b": 105
},
"hsl": {
"h": 254.815,
"s": 62.791,
"l": 25.294
},
"oklch": {
"l": 0.29488,
"c": 0.13151,
"h": 286.5
},
"luminance": 0.02209
}Semantic roles & 50–950 ramp
primary
#2C1869
secondary
#879F3E
accent
#E642BD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E