#2E0F5D#2E0F5D
#2E0F5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.127 H 294.4°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E0F5D |
|---|---|
| RGB | rgb(46, 15, 93) |
| HSL | hsl(264, 72%, 21%) |
| HSV | hsv(264, 84%, 36%) |
| CMYK | cmyk(50.5%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.90, 33.78, -40.20) |
| CIE-LCH | lch(13.90, 52.51, 310.05°) |
| OKLab | oklab(27.32% 0.0522 -0.1153) |
| OKLCH | oklch(27.32% 0.127 294.4) |
| XYZ | xyz(3.2728, 1.7127, 10.5120) |
| Luminance | 0.0171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.76
Darkblue (survey)
#030764
ΔE00 5.62
Midnight Blue
#191970
ΔE00 5.65
Dark Blue
#00035B
ΔE00 5.85
Royal Purple (survey)
#4B006E
ΔE00 5.98
Dark Royal Blue
#02066F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E0F5D #3E5D0F
analogous
#0F175D #2E0F5D #550F5D
triadic
#2E0F5D #5D2E0F #0F5D2E
tetradic
#2E0F5D #5D0F17 #3E5D0F #0F5D55
square
#2E0F5D #5D0F17 #3E5D0F #0F5D55
split-complementary
#2E0F5D #5D550F #175D0F
monochromatic
#0D041A #140628 #2E0F5D #481792 #6220C6
Accessibility & contrast
On white
15.64
#2E0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2E0F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E0F5D
15.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E0F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E0F5D | 1.00 | 15.64 | 1.34 | 15.64 |
| #FFFFFF | 15.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#202536
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2e0f5d; /* rgb */ color: rgb(46, 15, 93); /* oklch */ color: oklch(27.3% 0.127 294.4);
Tailwind
colors: {
custom: {
50: '#6d528c',
500: '#2e0f5d',
950: '#000000',
},
}SCSS
$custom: #2e0f5d; $custom-light: #6d528c; $custom-dark: #000000;
JSON
{
"hex": "#2e0f5d",
"rgb": {
"r": 46,
"g": 15,
"b": 93
},
"hsl": {
"h": 263.846,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.27315,
"c": 0.12658,
"h": 294.4
},
"luminance": 0.01713
}Semantic roles & 50–950 ramp
primary
#2E0F5D
secondary
#6E9631
accent
#EF39A7
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D