#230C5F#230C5F
#230C5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.9% C 0.132 H 285.2°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).
Color values
| HEX | #230C5F |
|---|---|
| RGB | rgb(35, 12, 95) |
| HSL | hsl(257, 78%, 21%) |
| HSV | hsv(257, 87%, 37%) |
| CMYK | cmyk(63.2%, 87.4%, 0%, 62.7%) |
| CIE-LAB | lab(12.26, 34.23, -44.28) |
| CIE-LCH | lch(12.26, 55.97, 307.70°) |
| OKLab | oklab(25.93% 0.0346 -0.1276) |
| OKLCH | oklch(25.93% 0.132 285.2) |
| XYZ | xyz(2.8895, 1.4463, 10.9512) |
| Luminance | 0.0145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.97
Darkblue (survey)
#030764
ΔE00 3.47
Dark Blue
#00035B
ΔE00 3.81
Dark Royal Blue
#02066F
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.39
Deep Blue
#040273
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230C5F #485F0C
analogous
#0C1E5F #230C5F #4C0C5F
triadic
#230C5F #5F230C #0C5F23
tetradic
#230C5F #5F0C1E #485F0C #0C5F4C
square
#230C5F #5F0C1E #485F0C #0C5F4C
split-complementary
#230C5F #5F4C0C #1E5F0C
monochromatic
#0A031B #0F0529 #230C5F #371395 #4B1ACC
Accessibility & contrast
On white
16.29
#230C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#230C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230C5F
16.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230C5F | 1.00 | 16.29 | 1.29 | 16.29 |
| #FFFFFF | 16.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#012636
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #230c5f; /* rgb */ color: rgb(35, 12, 95); /* oklch */ color: oklch(25.9% 0.132 285.2);
Tailwind
colors: {
custom: {
50: '#674f8d',
500: '#230c5f',
950: '#000000',
},
}SCSS
$custom: #230c5f; $custom-light: #674f8d; $custom-dark: #000000;
JSON
{
"hex": "#230c5f",
"rgb": {
"r": 35,
"g": 12,
"b": 95
},
"hsl": {
"h": 256.627,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.25928,
"c": 0.1322,
"h": 285.2
},
"luminance": 0.01446
}Semantic roles & 50–950 ramp
primary
#230C5F
secondary
#7B992D
accent
#F434BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D