#230B3B#230B3B
#230B3B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 302.5°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).
Color values
| HEX | #230B3B |
|---|---|
| RGB | rgb(35, 11, 59) |
| HSL | hsl(270, 69%, 14%) |
| HSV | hsv(270, 81%, 23%) |
| CMYK | cmyk(40.7%, 81.4%, 0%, 76.9%) |
| CIE-LAB | lab(8.24, 23.72, -25.94) |
| CIE-LCH | lch(8.24, 35.15, 312.44°) |
| OKLab | oklab(21.95% 0.0471 -0.0738) |
| OKLCH | oklch(21.95% 0.088 302.5) |
| XYZ | xyz(1.6020, 0.9124, 4.2285) |
| Luminance | 0.0091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.28
Very Dark Purple
#2A0134
ΔE00 4.03
Dark Purple
#35063E
ΔE00 4.83
Dark Violet
#34013F
ΔE00 5.05
Deep Purple
#36013F
ΔE00 5.45
Dark Indigo
#1F0954
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230B3B #233B0B
analogous
#0B0B3B #230B3B #3B0B3B
triadic
#230B3B #3B230B #0B3B23
tetradic
#230B3B #3B0B0B #233B0B #0B3B3B
square
#230B3B #3B0B0B #233B0B #0B3B3B
split-complementary
#230B3B #3B3B0B #0B3B0B
monochromatic
#0F051A #0F051A #230B3B #42156F #601EA2
Accessibility & contrast
On white
17.76
#230B3B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#230B3B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230B3B
17.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230B3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230B3B | 1.00 | 17.76 | 1.18 | 17.76 |
| #FFFFFF | 17.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#1E1622
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #230b3b; /* rgb */ color: rgb(35, 11, 59); /* oklch */ color: oklch(21.9% 0.088 302.5);
Tailwind
colors: {
custom: {
50: '#614c71',
500: '#230b3b',
950: '#000000',
},
}SCSS
$custom: #230b3b; $custom-light: #614c71; $custom-dark: #000000;
JSON
{
"hex": "#230b3b",
"rgb": {
"r": 35,
"g": 11,
"b": 59
},
"hsl": {
"h": 270,
"s": 68.571,
"l": 13.725
},
"oklch": {
"l": 0.21949,
"c": 0.08759,
"h": 302.5
},
"luminance": 0.00912
}Semantic roles & 50–950 ramp
primary
#230B3B
secondary
#51782A
accent
#EB3C94
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B