#23107E#23107E
#23107E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.1% C 0.167 H 277.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #23107E |
|---|---|
| RGB | rgb(35, 16, 126) |
| HSL | hsl(250, 77%, 28%) |
| HSV | hsv(250, 87%, 49%) |
| CMYK | cmyk(72.2%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.67, 41.96, -57.21) |
| CIE-LCH | lch(16.67, 70.95, 306.26°) |
| OKLab | oklab(30.07% 0.0213 -0.1653) |
| OKLCH | oklch(30.07% 0.167 277.3) |
| XYZ | xyz(4.6431, 2.2338, 19.9211) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy
#000080
ΔE00 3.22
Indigo (survey)
#380282
ΔE00 3.33
Darkblue
#00008B
ΔE00 3.40
Deep Blue
#040273
ΔE00 3.53
Midnight Blue
#191970
ΔE00 3.57
Royal
#0C1793
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23107E #6B7E10
analogous
#10347E #23107E #5A107E
triadic
#23107E #7E2310 #107E23
tetradic
#23107E #7E1034 #6B7E10 #107E5A
square
#23107E #7E1034 #6B7E10 #107E5A
split-complementary
#23107E #7E5A10 #347E10
monochromatic
#08031B #140948 #23107E #3217B4 #4625E3
Accessibility & contrast
On white
14.51
#23107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#23107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23107E
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23107E | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #23107e; /* rgb */ color: rgb(35, 16, 126); /* oklch */ color: oklch(30.1% 0.167 277.3);
Tailwind
colors: {
custom: {
50: '#6e54a5',
500: '#23107e',
950: '#000000',
},
}SCSS
$custom: #23107e; $custom-light: #6e54a5; $custom-dark: #000000;
JSON
{
"hex": "#23107e",
"rgb": {
"r": 35,
"g": 16,
"b": 126
},
"hsl": {
"h": 250.364,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.30066,
"c": 0.16663,
"h": 277.3
},
"luminance": 0.02234
}Semantic roles & 50–950 ramp
primary
#23107E
secondary
#9EB436
accent
#F434D3
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F