#2B0E4D#2B0E4D
#2B0E4D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.108 H 299.4°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0E4D |
|---|---|
| RGB | rgb(43, 14, 77) |
| HSL | hsl(268, 69%, 18%) |
| HSV | hsv(268, 82%, 30%) |
| CMYK | cmyk(44.2%, 81.8%, 0%, 69.8%) |
| CIE-LAB | lab(11.71, 29.10, -32.91) |
| CIE-LCH | lch(11.71, 43.93, 311.48°) |
| OKLab | oklab(25.2% 0.053 -0.094) |
| OKLCH | oklch(25.2% 0.108 299.4) |
| XYZ | xyz(2.4925, 1.3635, 7.1516) |
| Luminance | 0.0136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.47
Midnight Purple
#280137
ΔE00 5.16
Dark Violet
#34013F
ΔE00 5.29
Dark Purple
#35063E
ΔE00 5.53
Deep Purple
#36013F
ΔE00 5.69
Very Dark Purple
#2A0134
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0E4D #304D0E
analogous
#0E104D #2B0E4D #4A0E4D
triadic
#2B0E4D #4D2B0E #0E4D2B
tetradic
#2B0E4D #4D0E10 #304D0E #0E4D4A
square
#2B0E4D #4D0E10 #304D0E #0E4D4A
split-complementary
#2B0E4D #4D4A0E #104D0E
monochromatic
#0E051A #0E051A #2B0E4D #481781 #6521B5
Accessibility & contrast
On white
16.50
#2B0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#2B0E4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0E4D
16.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0E4D | 1.00 | 16.50 | 1.27 | 16.50 |
| #FFFFFF | 16.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#231E2C
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #2b0e4d; /* rgb */ color: rgb(43, 14, 77); /* oklch */ color: oklch(25.2% 0.108 299.4);
Tailwind
colors: {
custom: {
50: '#68507f',
500: '#2b0e4d',
950: '#000000',
},
}SCSS
$custom: #2b0e4d; $custom-light: #68507f; $custom-dark: #000000;
JSON
{
"hex": "#2b0e4d",
"rgb": {
"r": 43,
"g": 14,
"b": 77
},
"hsl": {
"h": 267.619,
"s": 69.231,
"l": 17.843
},
"oklch": {
"l": 0.25198,
"c": 0.10794,
"h": 299.4
},
"luminance": 0.01363
}Semantic roles & 50–950 ramp
primary
#2B0E4D
secondary
#5F882F
accent
#EC3C9B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C