#2B1883#2B1883
#2B1883 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.164 H 279.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1883 |
|---|---|
| RGB | rgb(43, 24, 131) |
| HSL | hsl(251, 69%, 30%) |
| HSV | hsv(251, 82%, 51%) |
| CMYK | cmyk(67.2%, 81.7%, 0%, 48.6%) |
| CIE-LAB | lab(19.25, 40.51, -56.10) |
| CIE-LCH | lch(19.25, 69.20, 305.83°) |
| OKLab | oklab(32.2% 0.0284 -0.162) |
| OKLCH | oklch(32.2% 0.164 279.9) |
| XYZ | xyz(5.4183, 2.8051, 21.7242) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.26
Indigo (survey)
#380282
ΔE00 3.71
Midnight Blue
#191970
ΔE00 3.82
Darkblue
#00008B
ΔE00 4.63
Navy
#000080
ΔE00 4.85
Deep Blue
#040273
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1883 #708318
analogous
#183B83 #2B1883 #601883
triadic
#2B1883 #832B18 #18832B
tetradic
#2B1883 #83183B #708318 #188360
square
#2B1883 #83183B #708318 #188360
split-complementary
#2B1883 #836018 #3B8318
monochromatic
#09051C #1A0F4F #2B1883 #3C21B7 #573ADB
Accessibility & contrast
On white
13.45
#2B1883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2B1883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1883
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1883 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1883; /* rgb */ color: rgb(43, 24, 131); /* oklch */ color: oklch(32.2% 0.164 279.9);
Tailwind
colors: {
custom: {
50: '#7259a8',
500: '#2b1883',
950: '#000000',
},
}SCSS
$custom: #2b1883; $custom-light: #7259a8; $custom-dark: #000000;
JSON
{
"hex": "#2b1883",
"rgb": {
"r": 43,
"g": 24,
"b": 131
},
"hsl": {
"h": 250.654,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.32196,
"c": 0.16443,
"h": 279.9
},
"luminance": 0.02806
}Semantic roles & 50–950 ramp
primary
#2B1883
secondary
#A2B740
accent
#EC3CCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F