#2B106A#2B106A
#2B106A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.141 H 287.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B106A |
|---|---|
| RGB | rgb(43, 16, 106) |
| HSL | hsl(258, 74%, 24%) |
| HSV | hsv(258, 85%, 42%) |
| CMYK | cmyk(59.4%, 84.9%, 0%, 58.4%) |
| CIE-LAB | lab(15.09, 36.71, -46.88) |
| CIE-LCH | lch(15.09, 59.54, 308.06°) |
| OKLab | oklab(28.47% 0.0417 -0.135) |
| OKLCH | oklch(28.47% 0.141 287.2) |
| XYZ | xyz(3.7823, 1.9246, 13.8051) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.74
Dark Indigo
#1F0954
ΔE00 3.98
Darkblue (survey)
#030764
ΔE00 4.34
Dark Royal Blue
#02066F
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 4.55
Deep Blue
#040273
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B106A #4F6A10
analogous
#10226A #2B106A #58106A
triadic
#2B106A #6A2B10 #106A2B
tetradic
#2B106A #6A1022 #4F6A10 #106A58
square
#2B106A #6A1022 #4F6A10 #106A58
split-complementary
#2B106A #6A5810 #226A10
monochromatic
#0B041B #150835 #2B106A #41189F #5620D4
Accessibility & contrast
On white
15.16
#2B106A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2B106A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B106A
15.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B106A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B106A | 1.00 | 15.16 | 1.39 | 15.16 |
| #FFFFFF | 15.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#0D2B3E
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2b106a; /* rgb */ color: rgb(43, 16, 106); /* oklch */ color: oklch(28.5% 0.141 287.2);
Tailwind
colors: {
custom: {
50: '#6d5396',
500: '#2b106a',
950: '#000000',
},
}SCSS
$custom: #2b106a; $custom-light: #6d5396; $custom-dark: #000000;
JSON
{
"hex": "#2b106a",
"rgb": {
"r": 43,
"g": 16,
"b": 106
},
"hsl": {
"h": 258,
"s": 73.77,
"l": 23.922
},
"oklch": {
"l": 0.28473,
"c": 0.14126,
"h": 287.2
},
"luminance": 0.01925
}Semantic roles & 50–950 ramp
primary
#2B106A
secondary
#81A234
accent
#F037B9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020D
muted
#7A787E