#2C0F5E#2C0F5E
#2C0F5E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.128 H 292.3°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0F5E |
|---|---|
| RGB | rgb(44, 15, 94) |
| HSL | hsl(262, 72%, 21%) |
| HSV | hsv(262, 84%, 37%) |
| CMYK | cmyk(53.2%, 84%, 0%, 63.1%) |
| CIE-LAB | lab(13.74, 33.75, -41.14) |
| CIE-LCH | lch(13.74, 53.21, 309.37°) |
| OKLab | oklab(27.17% 0.0484 -0.1181) |
| OKLCH | oklch(27.17% 0.128 292.3) |
| XYZ | xyz(3.2293, 1.6852, 10.7426) |
| Luminance | 0.0169 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.54
Darkblue (survey)
#030764
ΔE00 5.15
Midnight Blue
#191970
ΔE00 5.22
Dark Blue
#00035B
ΔE00 5.44
Dark Royal Blue
#02066F
ΔE00 5.81
Deep Blue
#040273
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0F5E #415E0F
analogous
#0F1A5E #2C0F5E #540F5E
triadic
#2C0F5E #5E2C0F #0F5E2C
tetradic
#2C0F5E #5E0F1A #415E0F #0F5E54
square
#2C0F5E #5E0F1A #415E0F #0F5E54
split-complementary
#2C0F5E #5E540F #1A5E0F
monochromatic
#0C041A #130729 #2C0F5E #451793 #5D20C8
Accessibility & contrast
On white
15.71
#2C0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2C0F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0F5E
15.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0F5E | 1.00 | 15.71 | 1.34 | 15.71 |
| #FFFFFF | 15.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#1B2636
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2c0f5e; /* rgb */ color: rgb(44, 15, 94); /* oklch */ color: oklch(27.2% 0.128 292.3);
Tailwind
colors: {
custom: {
50: '#6c518c',
500: '#2c0f5e',
950: '#000000',
},
}SCSS
$custom: #2c0f5e; $custom-light: #6c518c; $custom-dark: #000000;
JSON
{
"hex": "#2c0f5e",
"rgb": {
"r": 44,
"g": 15,
"b": 94
},
"hsl": {
"h": 262.025,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.27174,
"c": 0.12769,
"h": 292.3
},
"luminance": 0.01685
}Semantic roles & 50–950 ramp
primary
#2C0F5E
secondary
#729731
accent
#EF39AC
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D