#2B0F5D#2B0F5D
#2B0F5D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.126 H 291.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0F5D |
|---|---|
| RGB | rgb(43, 15, 93) |
| HSL | hsl(262, 72%, 21%) |
| HSV | hsv(262, 84%, 36%) |
| CMYK | cmyk(53.8%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(13.50, 33.30, -40.86) |
| CIE-LCH | lch(13.50, 52.71, 309.18°) |
| OKLab | oklab(26.95% 0.0471 -0.1174) |
| OKLCH | oklch(26.95% 0.126 291.8) |
| XYZ | xyz(3.1423, 1.6454, 10.5058) |
| Luminance | 0.0165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.34
Darkblue (survey)
#030764
ΔE00 5.09
Midnight Blue
#191970
ΔE00 5.22
Dark Blue
#00035B
ΔE00 5.34
Dark Royal Blue
#02066F
ΔE00 5.81
Night Blue
#040348
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0F5D #415D0F
analogous
#0F1A5D #2B0F5D #520F5D
triadic
#2B0F5D #5D2B0F #0F5D2B
tetradic
#2B0F5D #5D0F1A #415D0F #0F5D52
square
#2B0F5D #5D0F1A #415D0F #0F5D52
split-complementary
#2B0F5D #5D520F #1A5D0F
monochromatic
#0C041A #130628 #2B0F5D #431792 #5C20C6
Accessibility & contrast
On white
15.80
#2B0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2B0F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0F5D
15.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0F5D | 1.00 | 15.80 | 1.33 | 15.80 |
| #FFFFFF | 15.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1A2536
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2b0f5d; /* rgb */ color: rgb(43, 15, 93); /* oklch */ color: oklch(26.9% 0.126 291.8);
Tailwind
colors: {
custom: {
50: '#6b518c',
500: '#2b0f5d',
950: '#000000',
},
}SCSS
$custom: #2b0f5d; $custom-light: #6b518c; $custom-dark: #000000;
JSON
{
"hex": "#2b0f5d",
"rgb": {
"r": 43,
"g": 15,
"b": 93
},
"hsl": {
"h": 261.538,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.26949,
"c": 0.12645,
"h": 291.8
},
"luminance": 0.01646
}Semantic roles & 50–950 ramp
primary
#2B0F5D
secondary
#729631
accent
#EF39AE
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D