#2B0F5E#2B0F5E
#2B0F5E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.128 H 291.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0F5E |
|---|---|
| RGB | rgb(43, 15, 94) |
| HSL | hsl(261, 72%, 21%) |
| HSV | hsv(261, 84%, 37%) |
| CMYK | cmyk(54.3%, 84%, 0%, 63.1%) |
| CIE-LAB | lab(13.61, 33.60, -41.36) |
| CIE-LCH | lch(13.61, 53.28, 309.09°) |
| OKLab | oklab(27.06% 0.0467 -0.1188) |
| OKLCH | oklch(27.06% 0.128 291.5) |
| XYZ | xyz(3.1869, 1.6633, 10.7406) |
| Luminance | 0.0166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.42
Darkblue (survey)
#030764
ΔE00 4.98
Midnight Blue
#191970
ΔE00 5.08
Dark Blue
#00035B
ΔE00 5.28
Dark Royal Blue
#02066F
ΔE00 5.66
Deep Blue
#040273
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0F5E #425E0F
analogous
#0F1B5E #2B0F5E #530F5E
triadic
#2B0F5E #5E2B0F #0F5E2B
tetradic
#2B0F5E #5E0F1B #425E0F #0F5E53
square
#2B0F5E #5E0F1B #425E0F #0F5E53
split-complementary
#2B0F5E #5E530F #1B5E0F
monochromatic
#0C041A #130729 #2B0F5E #431793 #5B20C8
Accessibility & contrast
On white
15.76
#2B0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2B0F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0F5E
15.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0F5E | 1.00 | 15.76 | 1.33 | 15.76 |
| #FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#192636
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2b0f5e; /* rgb */ color: rgb(43, 15, 94); /* oklch */ color: oklch(27.1% 0.128 291.5);
Tailwind
colors: {
custom: {
50: '#6b518c',
500: '#2b0f5e',
950: '#000000',
},
}SCSS
$custom: #2b0f5e; $custom-light: #6b518c; $custom-dark: #000000;
JSON
{
"hex": "#2b0f5e",
"rgb": {
"r": 43,
"g": 15,
"b": 94
},
"hsl": {
"h": 261.266,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.27055,
"c": 0.12767,
"h": 291.5
},
"luminance": 0.01663
}Semantic roles & 50–950 ramp
primary
#2B0F5E
secondary
#739731
accent
#EF39AE
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D