#2D0E57#2D0E57
#2D0E57 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.120 H 296.3°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0E57 |
|---|---|
| RGB | rgb(45, 14, 87) |
| HSL | hsl(265, 72%, 20%) |
| HSV | hsv(265, 84%, 34%) |
| CMYK | cmyk(48.3%, 83.9%, 0%, 65.9%) |
| CIE-LAB | lab(12.98, 32.36, -37.66) |
| CIE-LCH | lch(12.98, 49.65, 310.67°) |
| OKLab | oklab(26.46% 0.0534 -0.1079) |
| OKLCH | oklch(26.46% 0.12 296.3) |
| XYZ | xyz(2.9591, 1.5600, 9.1602) |
| Luminance | 0.0156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.56
Dark Blue
#00035B
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.19
Night Blue
#040348
ΔE00 6.27
Royal Purple (survey)
#4B006E
ΔE00 6.49
Midnight Blue
#191970
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0E57 #38570E
analogous
#0E1457 #2D0E57 #510E57
triadic
#2D0E57 #572D0E #0E572D
tetradic
#2D0E57 #570E14 #38570E #0E5751
square
#2D0E57 #570E14 #38570E #0E5751
split-complementary
#2D0E57 #57510E #14570E
monochromatic
#0E041A #120622 #2D0E57 #48168C #641FC0
Accessibility & contrast
On white
16.01
#2D0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2D0E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0E57
16.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0E57 | 1.00 | 16.01 | 1.31 | 16.01 |
| #FFFFFF | 16.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#212232
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2d0e57; /* rgb */ color: rgb(45, 14, 87); /* oklch */ color: oklch(26.5% 0.120 296.3);
Tailwind
colors: {
custom: {
50: '#6b5187',
500: '#2d0e57',
950: '#000000',
},
}SCSS
$custom: #2d0e57; $custom-light: #6b5187; $custom-dark: #000000;
JSON
{
"hex": "#2d0e57",
"rgb": {
"r": 45,
"g": 14,
"b": 87
},
"hsl": {
"h": 265.479,
"s": 72.277,
"l": 19.804
},
"oklch": {
"l": 0.26458,
"c": 0.12038,
"h": 296.3
},
"luminance": 0.0156
}Semantic roles & 50–950 ramp
primary
#2D0E57
secondary
#689130
accent
#EF39A2
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C