#230D2C#230D2C
#230D2C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.064 H 315.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).
Color values
| HEX | #230D2C |
|---|---|
| RGB | rgb(35, 13, 44) |
| HSL | hsl(283, 54%, 11%) |
| HSV | hsv(283, 70%, 17%) |
| CMYK | cmyk(20.5%, 70.5%, 0%, 82.7%) |
| CIE-LAB | lab(7.47, 18.15, -16.18) |
| CIE-LCH | lch(7.47, 24.31, 318.28°) |
| OKLab | oklab(21% 0.0454 -0.0453) |
| OKLCH | oklch(21% 0.064 315) |
| XYZ | xyz(1.2916, 0.8271, 2.4740) |
| Luminance | 0.0083 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Very Dark Purple
#2A0134
ΔE00 5.58
Midnight Purple
#280137
ΔE00 6.07
Eggplant
#380835
ΔE00 6.19
Dark Purple
#35063E
ΔE00 6.71
Aubergine
#3D0734
ΔE00 7.45
Dark Violet
#34013F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230D2C #162C0D
analogous
#130D2C #230D2C #2C0D25
triadic
#230D2C #2C230D #0D2C23
tetradic
#230D2C #2C130D #162C0D #0D252C
square
#230D2C #2C130D #162C0D #0D252C
split-complementary
#230D2C #252C0D #0D2C13
monochromatic
#130718 #130718 #230D2C #491B5B #6E298A
Accessibility & contrast
On white
18.02
#230D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#230D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230D2C
18.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230D2C | 1.00 | 18.02 | 1.17 | 18.02 |
| #FFFFFF | 18.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#0D172B
Tritanopia (blue-blind)
#22121A
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #230d2c; /* rgb */ color: rgb(35, 13, 44); /* oklch */ color: oklch(21.0% 0.064 315.0);
Tailwind
colors: {
custom: {
50: '#5f4d65',
500: '#230d2c',
950: '#000000',
},
}SCSS
$custom: #230d2c; $custom-light: #5f4d65; $custom-dark: #000000;
JSON
{
"hex": "#230d2c",
"rgb": {
"r": 35,
"g": 13,
"b": 44
},
"hsl": {
"h": 282.581,
"s": 54.386,
"l": 11.176
},
"oklch": {
"l": 0.20995,
"c": 0.06412,
"h": 315
},
"luminance": 0.00827
}Semantic roles & 50–950 ramp
primary
#230D2C
secondary
#3F672E
accent
#DE4A75
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A