#2C0E5D#2C0E5D
#2C0E5D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.128 H 292.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0E5D |
|---|---|
| RGB | rgb(44, 14, 93) |
| HSL | hsl(263, 74%, 21%) |
| HSV | hsv(263, 85%, 36%) |
| CMYK | cmyk(52.7%, 84.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.47, 33.93, -40.91) |
| CIE-LCH | lch(13.47, 53.15, 309.67°) |
| OKLab | oklab(26.96% 0.0496 -0.1175) |
| OKLCH | oklch(26.96% 0.128 292.9) |
| XYZ | xyz(3.1710, 1.6398, 10.5032) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.43
Darkblue (survey)
#030764
ΔE00 5.21
Dark Blue
#00035B
ΔE00 5.43
Midnight Blue
#191970
ΔE00 5.44
Dark Royal Blue
#02066F
ΔE00 5.90
Royal Purple (survey)
#4B006E
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0E5D #3F5D0E
analogous
#0E175D #2C0E5D #530E5D
triadic
#2C0E5D #5D2C0E #0E5D2C
tetradic
#2C0E5D #5D0E17 #3F5D0E #0E5D53
square
#2C0E5D #5D0E17 #3F5D0E #0E5D53
split-complementary
#2C0E5D #5D530E #175D0E
monochromatic
#0D041B #130628 #2C0E5D #451692 #5E1EC7
Accessibility & contrast
On white
15.81
#2C0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2C0E5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0E5D
15.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0E5D | 1.00 | 15.81 | 1.33 | 15.81 |
| #FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1C2536
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2c0e5d; /* rgb */ color: rgb(44, 14, 93); /* oklch */ color: oklch(27.0% 0.128 292.9);
Tailwind
colors: {
custom: {
50: '#6c518c',
500: '#2c0e5d',
950: '#000000',
},
}SCSS
$custom: #2c0e5d; $custom-light: #6c518c; $custom-dark: #000000;
JSON
{
"hex": "#2c0e5d",
"rgb": {
"r": 44,
"g": 14,
"b": 93
},
"hsl": {
"h": 262.785,
"s": 73.832,
"l": 20.98
},
"oklch": {
"l": 0.26955,
"c": 0.12751,
"h": 292.9
},
"luminance": 0.0164
}Semantic roles & 50–950 ramp
primary
#2C0E5D
secondary
#709730
accent
#F037AA
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D