#2C1973#2C1973
#2C1973 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.143 H 283.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1973 |
|---|---|
| RGB | rgb(44, 25, 115) |
| HSL | hsl(253, 64%, 27%) |
| HSV | hsv(253, 78%, 45%) |
| CMYK | cmyk(61.7%, 78.3%, 0%, 54.9%) |
| CIE-LAB | lab(17.77, 35.03, -48.30) |
| CIE-LCH | lch(17.77, 59.67, 305.95°) |
| OKLab | oklab(30.67% 0.034 -0.1392) |
| OKLCH | oklch(30.67% 0.143 283.7) |
| XYZ | xyz(4.4799, 2.4682, 16.4567) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Indigo (survey)
#380282
ΔE00 4.71
Dark Royal Blue
#02066F
ΔE00 5.05
Deep Blue
#040273
ΔE00 5.39
Darkblue (survey)
#030764
ΔE00 5.41
Royal
#0C1793
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1973 #607319
analogous
#193373 #2C1973 #591973
triadic
#2C1973 #732C19 #19732C
tetradic
#2C1973 #731933 #607319 #197359
square
#2C1973 #731933 #607319 #197359
split-complementary
#2C1973 #735919 #337319
monochromatic
#0A0519 #190E41 #2C1973 #3F24A5 #5534D3
Accessibility & contrast
On white
14.06
#2C1973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2C1973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1973
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1973 | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#013245
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2c1973; /* rgb */ color: rgb(44, 25, 115); /* oklch */ color: oklch(30.7% 0.143 283.7);
Tailwind
colors: {
custom: {
50: '#6f589c',
500: '#2c1973',
950: '#000000',
},
}SCSS
$custom: #2c1973; $custom-light: #6f589c; $custom-dark: #000000;
JSON
{
"hex": "#2c1973",
"rgb": {
"r": 44,
"g": 25,
"b": 115
},
"hsl": {
"h": 252.667,
"s": 64.286,
"l": 27.451
},
"oklch": {
"l": 0.30668,
"c": 0.14329,
"h": 283.7
},
"luminance": 0.02469
}Semantic roles & 50–950 ramp
primary
#2C1973
secondary
#92A840
accent
#E741C4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E