#2E0F5F#2E0F5F
#2E0F5F is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.129 H 293.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E0F5F |
|---|---|
| RGB | rgb(46, 15, 95) |
| HSL | hsl(263, 73%, 22%) |
| HSV | hsv(263, 84%, 37%) |
| CMYK | cmyk(51.6%, 84.2%, 0%, 62.7%) |
| CIE-LAB | lab(14.11, 34.36, -41.19) |
| CIE-LCH | lch(14.11, 53.64, 309.83°) |
| OKLab | oklab(27.52% 0.0515 -0.1182) |
| OKLCH | oklch(27.52% 0.129 293.5) |
| XYZ | xyz(3.3625, 1.7486, 10.9846) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.87
Midnight Blue
#191970
ΔE00 5.37
Darkblue (survey)
#030764
ΔE00 5.40
Dark Blue
#00035B
ΔE00 5.72
Royal Purple (survey)
#4B006E
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E0F5F #405F0F
analogous
#0F185F #2E0F5F #560F5F
triadic
#2E0F5F #5F2E0F #0F5F2E
tetradic
#2E0F5F #5F0F18 #405F0F #0F5F56
square
#2E0F5F #5F0F18 #405F0F #0F5F56
split-complementary
#2E0F5F #5F560F #185F0F
monochromatic
#0D041A #14072A #2E0F5F #481794 #6120C9
Accessibility & contrast
On white
15.56
#2E0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#2E0F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E0F5F
15.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E0F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E0F5F | 1.00 | 15.56 | 1.35 | 15.56 |
| #FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#1F2637
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #2e0f5f; /* rgb */ color: rgb(46, 15, 95); /* oklch */ color: oklch(27.5% 0.129 293.5);
Tailwind
colors: {
custom: {
50: '#6d528d',
500: '#2e0f5f',
950: '#000000',
},
}SCSS
$custom: #2e0f5f; $custom-light: #6d528d; $custom-dark: #000000;
JSON
{
"hex": "#2e0f5f",
"rgb": {
"r": 46,
"g": 15,
"b": 95
},
"hsl": {
"h": 263.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.27522,
"c": 0.12897,
"h": 293.5
},
"luminance": 0.01749
}Semantic roles & 50–950 ramp
primary
#2E0F5F
secondary
#709832
accent
#EF38A8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D