#2C0F5D#2C0F5D
#2C0F5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.126 H 292.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0F5D |
|---|---|
| RGB | rgb(44, 15, 93) |
| HSL | hsl(262, 72%, 21%) |
| HSV | hsv(262, 84%, 36%) |
| CMYK | cmyk(52.7%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.63, 33.46, -40.64) |
| CIE-LCH | lch(13.63, 52.65, 309.46°) |
| OKLab | oklab(27.07% 0.0488 -0.1167) |
| OKLCH | oklch(27.07% 0.126 292.7) |
| XYZ | xyz(3.1848, 1.6673, 10.5078) |
| Luminance | 0.0167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.47
Darkblue (survey)
#030764
ΔE00 5.26
Midnight Blue
#191970
ΔE00 5.36
Dark Blue
#00035B
ΔE00 5.51
Dark Royal Blue
#02066F
ΔE00 5.96
Night Blue
#040348
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0F5D #405D0F
analogous
#0F195D #2C0F5D #530F5D
triadic
#2C0F5D #5D2C0F #0F5D2C
tetradic
#2C0F5D #5D0F19 #405D0F #0F5D53
square
#2C0F5D #5D0F19 #405D0F #0F5D53
split-complementary
#2C0F5D #5D530F #195D0F
monochromatic
#0C041A #130628 #2C0F5D #451792 #5E20C6
Accessibility & contrast
On white
15.75
#2C0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2C0F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0F5D
15.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0F5D | 1.00 | 15.75 | 1.33 | 15.75 |
| #FFFFFF | 15.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1C2536
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2c0f5d; /* rgb */ color: rgb(44, 15, 93); /* oklch */ color: oklch(27.1% 0.126 292.7);
Tailwind
colors: {
custom: {
50: '#6c518c',
500: '#2c0f5d',
950: '#000000',
},
}SCSS
$custom: #2c0f5d; $custom-light: #6c518c; $custom-dark: #000000;
JSON
{
"hex": "#2c0f5d",
"rgb": {
"r": 44,
"g": 15,
"b": 93
},
"hsl": {
"h": 262.308,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.27069,
"c": 0.12648,
"h": 292.7
},
"luminance": 0.01667
}Semantic roles & 50–950 ramp
primary
#2C0F5D
secondary
#719631
accent
#EF39AB
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D