#2B0F5F#2B0F5F
#2B0F5F is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.129 H 291.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0F5F |
|---|---|
| RGB | rgb(43, 15, 95) |
| HSL | hsl(261, 73%, 22%) |
| HSV | hsv(261, 84%, 37%) |
| CMYK | cmyk(54.7%, 84.2%, 0%, 62.7%) |
| CIE-LAB | lab(13.72, 33.90, -41.85) |
| CIE-LCH | lch(13.72, 53.86, 309.01°) |
| OKLab | oklab(27.16% 0.0464 -0.1203) |
| OKLCH | oklch(27.16% 0.129 291.1) |
| XYZ | xyz(3.2321, 1.6813, 10.9785) |
| Luminance | 0.0168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.51
Darkblue (survey)
#030764
ΔE00 4.88
Midnight Blue
#191970
ΔE00 4.95
Dark Blue
#00035B
ΔE00 5.23
Dark Royal Blue
#02066F
ΔE00 5.51
Deep Blue
#040273
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0F5F #435F0F
analogous
#0F1B5F #2B0F5F #530F5F
triadic
#2B0F5F #5F2B0F #0F5F2B
tetradic
#2B0F5F #5F0F1B #435F0F #0F5F53
square
#2B0F5F #5F0F1B #435F0F #0F5F53
split-complementary
#2B0F5F #5F530F #1B5F0F
monochromatic
#0C041A #13072A #2B0F5F #431794 #5B20C9
Accessibility & contrast
On white
15.72
#2B0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2B0F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0F5F
15.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0F5F | 1.00 | 15.72 | 1.34 | 15.72 |
| #FFFFFF | 15.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#192637
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2b0f5f; /* rgb */ color: rgb(43, 15, 95); /* oklch */ color: oklch(27.2% 0.129 291.1);
Tailwind
colors: {
custom: {
50: '#6b518d',
500: '#2b0f5f',
950: '#000000',
},
}SCSS
$custom: #2b0f5f; $custom-light: #6b518d; $custom-dark: #000000;
JSON
{
"hex": "#2b0f5f",
"rgb": {
"r": 43,
"g": 15,
"b": 95
},
"hsl": {
"h": 261,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.27161,
"c": 0.12889,
"h": 291.1
},
"luminance": 0.01681
}Semantic roles & 50–950 ramp
primary
#2B0F5F
secondary
#749832
accent
#EF38AF
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D