#230F2F#230F2F
#230F2F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.064 H 311.0°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #230F2F |
|---|---|
| RGB | rgb(35, 15, 47) |
| HSL | hsl(278, 52%, 12%) |
| HSV | hsv(278, 68%, 18%) |
| CMYK | cmyk(25.5%, 68.1%, 0%, 81.6%) |
| CIE-LAB | lab(8.17, 17.72, -17.30) |
| CIE-LCH | lch(8.17, 24.77, 315.69°) |
| OKLab | oklab(21.58% 0.0422 -0.0485) |
| OKLCH | oklch(21.58% 0.064 311) |
| XYZ | xyz(1.3770, 0.9042, 2.7908) |
| Luminance | 0.0090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Very Dark Purple
#2A0134
ΔE00 5.69
Midnight Purple
#280137
ΔE00 6.01
Eggplant
#380835
ΔE00 6.56
Dark Purple
#35063E
ΔE00 6.68
Dark Violet
#34013F
ΔE00 7.53
Deep Purple
#36013F
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230F2F #1B2F0F
analogous
#130F2F #230F2F #2F0F2B
triadic
#230F2F #2F230F #0F2F23
tetradic
#230F2F #2F130F #1B2F0F #0F2B2F
square
#230F2F #2F130F #1B2F0F #0F2B2F
split-complementary
#230F2F #2B2F0F #0F2F13
monochromatic
#110717 #110717 #230F2F #461E5D #682D8C
Accessibility & contrast
On white
17.78
#230F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#230F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230F2F
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230F2F | 1.00 | 17.78 | 1.18 | 17.78 |
| #FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#22151D
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #230f2f; /* rgb */ color: rgb(35, 15, 47); /* oklch */ color: oklch(21.6% 0.064 311.0);
Tailwind
colors: {
custom: {
50: '#5f4e67',
500: '#230f2f',
950: '#000000',
},
}SCSS
$custom: #230f2f; $custom-light: #5f4e67; $custom-dark: #000000;
JSON
{
"hex": "#230f2f",
"rgb": {
"r": 35,
"g": 15,
"b": 47
},
"hsl": {
"h": 277.5,
"s": 51.613,
"l": 12.157
},
"oklch": {
"l": 0.21583,
"c": 0.06431,
"h": 311
},
"luminance": 0.00904
}Semantic roles & 50–950 ramp
primary
#230F2F
secondary
#466931
accent
#DB4D82
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A