#2B1066#2B1066
#2B1066 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.136 H 288.4°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1066 |
|---|---|
| RGB | rgb(43, 16, 102) |
| HSL | hsl(259, 73%, 23%) |
| HSV | hsv(259, 84%, 40%) |
| CMYK | cmyk(57.8%, 84.3%, 0%, 60%) |
| CIE-LAB | lab(14.64, 35.51, -44.98) |
| CIE-LCH | lch(14.64, 57.31, 308.29°) |
| OKLab | oklab(28.03% 0.0431 -0.1294) |
| OKLCH | oklch(28.03% 0.136 288.4) |
| XYZ | xyz(3.5791, 1.8433, 12.7350) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.40
Midnight Blue
#191970
ΔE00 4.05
Darkblue (survey)
#030764
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 4.70
Deep Blue
#040273
ΔE00 5.06
Indigo (survey)
#380282
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1066 #4B6610
analogous
#102066 #2B1066 #561066
triadic
#2B1066 #662B10 #10662B
tetradic
#2B1066 #661020 #4B6610 #106656
square
#2B1066 #661020 #4B6610 #106656
split-complementary
#2B1066 #665610 #206610
monochromatic
#0B041A #150831 #2B1066 #41189B #5821D0
Accessibility & contrast
On white
15.34
#2B1066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2B1066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1066
15.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1066 | 1.00 | 15.34 | 1.37 | 15.34 |
| #FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#12293B
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2b1066; /* rgb */ color: rgb(43, 16, 102); /* oklch */ color: oklch(28.0% 0.136 288.4);
Tailwind
colors: {
custom: {
50: '#6d5293',
500: '#2b1066',
950: '#000000',
},
}SCSS
$custom: #2b1066; $custom-light: #6d5293; $custom-dark: #000000;
JSON
{
"hex": "#2b1066",
"rgb": {
"r": 43,
"g": 16,
"b": 102
},
"hsl": {
"h": 258.837,
"s": 72.881,
"l": 23.137
},
"oklch": {
"l": 0.28033,
"c": 0.13642,
"h": 288.4
},
"luminance": 0.01843
}Semantic roles & 50–950 ramp
primary
#2B1066
secondary
#7D9E33
accent
#F038B6
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E