#230D3F#230D3F
#230D3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.090 H 299.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).
Color values
| HEX | #230D3F |
|---|---|
| RGB | rgb(35, 13, 63) |
| HSL | hsl(266, 66%, 15%) |
| HSV | hsv(266, 79%, 25%) |
| CMYK | cmyk(44.4%, 79.4%, 0%, 75.3%) |
| CIE-LAB | lab(9.02, 23.76, -27.53) |
| CIE-LCH | lch(9.02, 36.36, 310.80°) |
| OKLab | oklab(22.62% 0.0438 -0.0785) |
| OKLCH | oklch(22.62% 0.09 299.2) |
| XYZ | xyz(1.7340, 1.0040, 4.8041) |
| Luminance | 0.0100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 4.01
Very Dark Purple
#2A0134
ΔE00 4.87
Dark Purple
#35063E
ΔE00 5.34
Dark Violet
#34013F
ΔE00 5.48
Dark Indigo
#1F0954
ΔE00 5.54
Deep Purple
#36013F
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230D3F #293F0D
analogous
#0D103F #230D3F #3C0D3F
triadic
#230D3F #3F230D #0D3F23
tetradic
#230D3F #3F0D10 #293F0D #0D3F3C
square
#230D3F #3F0D10 #293F0D #0D3F3C
split-complementary
#230D3F #3F3C0D #103F0D
monochromatic
#0E0519 #0E0519 #230D3F #3F1772 #5B22A4
Accessibility & contrast
On white
17.49
#230D3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#230D3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230D3F
17.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230D3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230D3F | 1.00 | 17.49 | 1.20 | 17.49 |
| #FFFFFF | 17.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1C1924
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #230d3f; /* rgb */ color: rgb(35, 13, 63); /* oklch */ color: oklch(22.6% 0.090 299.2);
Tailwind
colors: {
custom: {
50: '#614d74',
500: '#230d3f',
950: '#000000',
},
}SCSS
$custom: #230d3f; $custom-light: #614d74; $custom-dark: #000000;
JSON
{
"hex": "#230d3f",
"rgb": {
"r": 35,
"g": 13,
"b": 63
},
"hsl": {
"h": 266.4,
"s": 65.789,
"l": 14.902
},
"oklch": {
"l": 0.22624,
"c": 0.08994,
"h": 299.2
},
"luminance": 0.01004
}Semantic roles & 50–950 ramp
primary
#230D3F
secondary
#597B2D
accent
#E93F9E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B