#2B0F5C#2B0F5C
#2B0F5C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.125 H 292.2°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0F5C |
|---|---|
| RGB | rgb(43, 15, 92) |
| HSL | hsl(262, 72%, 21%) |
| HSV | hsv(262, 84%, 36%) |
| CMYK | cmyk(53.3%, 83.7%, 0%, 63.9%) |
| CIE-LAB | lab(13.40, 33.00, -40.37) |
| CIE-LCH | lch(13.40, 52.14, 309.27°) |
| OKLab | oklab(26.84% 0.0474 -0.1159) |
| OKLCH | oklch(26.84% 0.125 292.2) |
| XYZ | xyz(3.0983, 1.6278, 10.2741) |
| Luminance | 0.0163 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.28
Darkblue (survey)
#030764
ΔE00 5.21
Midnight Blue
#191970
ΔE00 5.37
Dark Blue
#00035B
ΔE00 5.41
Dark Royal Blue
#02066F
ΔE00 5.97
Night Blue
#040348
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0F5C #405C0F
analogous
#0F195C #2B0F5C #510F5C
triadic
#2B0F5C #5C2B0F #0F5C2B
tetradic
#2B0F5C #5C0F19 #405C0F #0F5C51
square
#2B0F5C #5C0F19 #405C0F #0F5C51
split-complementary
#2B0F5C #5C510F #195C0F
monochromatic
#0C041A #120627 #2B0F5C #441891 #5C20C5
Accessibility & contrast
On white
15.84
#2B0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2B0F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0F5C
15.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0F5C | 1.00 | 15.84 | 1.33 | 15.84 |
| #FFFFFF | 15.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#1B2535
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2b0f5c; /* rgb */ color: rgb(43, 15, 92); /* oklch */ color: oklch(26.8% 0.125 292.2);
Tailwind
colors: {
custom: {
50: '#6b518b',
500: '#2b0f5c',
950: '#000000',
},
}SCSS
$custom: #2b0f5c; $custom-light: #6b518b; $custom-dark: #000000;
JSON
{
"hex": "#2b0f5c",
"rgb": {
"r": 43,
"g": 15,
"b": 92
},
"hsl": {
"h": 261.818,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.26843,
"c": 0.12523,
"h": 292.2
},
"luminance": 0.01628
}Semantic roles & 50–950 ramp
primary
#2B0F5C
secondary
#719531
accent
#EF39AD
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D