#2B1969#2B1969
#2B1969 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.130 H 285.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1969 |
|---|---|
| RGB | rgb(43, 25, 105) |
| HSL | hsl(254, 62%, 25%) |
| HSV | hsv(254, 76%, 41%) |
| CMYK | cmyk(59%, 76.2%, 0%, 58.8%) |
| CIE-LAB | lab(16.64, 31.64, -43.66) |
| CIE-LCH | lch(16.64, 53.92, 305.93°) |
| OKLab | oklab(29.53% 0.0349 -0.1257) |
| OKLCH | oklch(29.53% 0.13 285.5) |
| XYZ | xyz(3.8929, 2.2286, 13.5869) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.98
Dark Indigo
#1F0954
ΔE00 4.58
Darkblue (survey)
#030764
ΔE00 5.29
Dark Royal Blue
#02066F
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 6.00
Deep Blue
#040273
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1969 #576919
analogous
#192F69 #2B1969 #531969
triadic
#2B1969 #692B19 #19692B
tetradic
#2B1969 #69192F #576919 #196953
square
#2B1969 #69192F #576919 #196953
split-complementary
#2B1969 #695319 #2F6919
monochromatic
#0A0619 #170D38 #2B1969 #3F259A #5331CC
Accessibility & contrast
On white
14.52
#2B1969 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2B1969 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1969
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1969 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1969 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#0E2F3F
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2b1969; /* rgb */ color: rgb(43, 25, 105); /* oklch */ color: oklch(29.5% 0.130 285.5);
Tailwind
colors: {
custom: {
50: '#6c5895',
500: '#2b1969',
950: '#000000',
},
}SCSS
$custom: #2b1969; $custom-light: #6c5895; $custom-dark: #000000;
JSON
{
"hex": "#2b1969",
"rgb": {
"r": 43,
"g": 25,
"b": 105
},
"hsl": {
"h": 253.5,
"s": 61.538,
"l": 25.49
},
"oklch": {
"l": 0.29532,
"c": 0.13042,
"h": 285.5
},
"luminance": 0.02229
}Semantic roles & 50–950 ramp
primary
#2B1969
secondary
#899F3F
accent
#E543C0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E