#2B0B56#2B0B56
#2B0B56 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.122 H 295.6°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0B56 |
|---|---|
| RGB | rgb(43, 11, 86) |
| HSL | hsl(266, 77%, 19%) |
| HSV | hsv(266, 87%, 34%) |
| CMYK | cmyk(50%, 87.2%, 0%, 66.3%) |
| CIE-LAB | lab(12.12, 33.12, -38.41) |
| CIE-LCH | lch(12.12, 50.72, 310.77°) |
| OKLab | oklab(25.76% 0.0528 -0.1101) |
| OKLCH | oklch(25.76% 0.122 295.6) |
| XYZ | xyz(2.7952, 1.4247, 8.9300) |
| Luminance | 0.0143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.14
Dark Blue
#00035B
ΔE00 5.70
Darkblue (survey)
#030764
ΔE00 5.85
Night Blue
#040348
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.60
Dark Violet
#34013F
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0B56 #36560B
analogous
#0B1156 #2B0B56 #510B56
triadic
#2B0B56 #562B0B #0B562B
tetradic
#2B0B56 #560B11 #36560B #0B5651
square
#2B0B56 #560B11 #36560B #0B5651
split-complementary
#2B0B56 #56510B #11560B
monochromatic
#0E031B #100420 #2B0B56 #46128C #6119C3
Accessibility & contrast
On white
16.34
#2B0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#2B0B56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0B56
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0B56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0B56 | 1.00 | 16.34 | 1.29 | 16.34 |
| #FFFFFF | 16.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#1F2131
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2b0b56; /* rgb */ color: rgb(43, 11, 86); /* oklch */ color: oklch(25.8% 0.122 295.6);
Tailwind
colors: {
custom: {
50: '#6a4f86',
500: '#2b0b56',
950: '#000000',
},
}SCSS
$custom: #2b0b56; $custom-light: #6a4f86; $custom-dark: #000000;
JSON
{
"hex": "#2b0b56",
"rgb": {
"r": 43,
"g": 11,
"b": 86
},
"hsl": {
"h": 265.6,
"s": 77.32,
"l": 19.02
},
"oklch": {
"l": 0.25763,
"c": 0.12215,
"h": 295.6
},
"luminance": 0.01425
}Semantic roles & 50–950 ramp
primary
#2B0B56
secondary
#66912B
accent
#F434A2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C