#2B0F56#2B0F56
#2B0F56 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.118 H 294.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B0F56 |
|---|---|
| RGB | rgb(43, 15, 86) |
| HSL | hsl(264, 70%, 20%) |
| HSV | hsv(264, 83%, 34%) |
| CMYK | cmyk(50%, 82.6%, 0%, 66.3%) |
| CIE-LAB | lab(12.78, 31.22, -37.33) |
| CIE-LCH | lch(12.78, 48.67, 309.91°) |
| OKLab | oklab(26.22% 0.0494 -0.107) |
| OKLCH | oklch(26.22% 0.118 294.8) |
| XYZ | xyz(2.8463, 1.5270, 8.9471) |
| Luminance | 0.0153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.32
Night Blue
#040348
ΔE00 5.93
Dark Blue
#00035B
ΔE00 5.99
Darkblue (survey)
#030764
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.34
Dark Violet
#34013F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B0F56 #3A560F
analogous
#0F1756 #2B0F56 #4F0F56
triadic
#2B0F56 #562B0F #0F562B
tetradic
#2B0F56 #560F17 #3A560F #0F564F
square
#2B0F56 #560F17 #3A560F #0F564F
split-complementary
#2B0F56 #564F0F #17560F
monochromatic
#0D051A #110622 #2B0F56 #45188A #5F21BE
Accessibility & contrast
On white
16.09
#2B0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2B0F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B0F56
16.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B0F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B0F56 | 1.00 | 16.09 | 1.31 | 16.09 |
| #FFFFFF | 16.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#1E2232
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2b0f56; /* rgb */ color: rgb(43, 15, 86); /* oklch */ color: oklch(26.2% 0.118 294.8);
Tailwind
colors: {
custom: {
50: '#6a5186',
500: '#2b0f56',
950: '#000000',
},
}SCSS
$custom: #2b0f56; $custom-light: #6a5186; $custom-dark: #000000;
JSON
{
"hex": "#2b0f56",
"rgb": {
"r": 43,
"g": 15,
"b": 86
},
"hsl": {
"h": 263.662,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.26221,
"c": 0.11785,
"h": 294.8
},
"luminance": 0.01527
}Semantic roles & 50–950 ramp
primary
#2B0F56
secondary
#6A9031
accent
#ED3BA7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C