#423866#423866
#423866 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.4% C 0.078 H 292.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #423866 |
|---|---|
| RGB | rgb(66, 56, 102) |
| HSL | hsl(253, 29%, 31%) |
| HSV | hsv(253, 45%, 40%) |
| CMYK | cmyk(35.3%, 45.1%, 0%, 60%) |
| CIE-LAB | lab(26.58, 16.20, -25.58) |
| CIE-LCH | lch(26.58, 30.28, 302.34°) |
| OKLab | oklab(37.35% 0.0293 -0.0718) |
| OKLCH | oklch(37.35% 0.078 292.2) |
| XYZ | xyz(6.0586, 4.9458, 13.2032) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.70
Twilight
#4E518B
ΔE00 9.52
Blueberry
#464196
ΔE00 9.65
Dusk
#4E5481
ΔE00 9.67
Navy Blue
#1B2A4A
ΔE00 9.92
Marine
#042E60
ΔE00 11.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#423866 #5C6638
analogous
#384566 #423866 #593866
triadic
#423866 #664238 #386642
tetradic
#423866 #663845 #5C6638 #386659
square
#423866 #663845 #5C6638 #386659
split-complementary
#423866 #665938 #456638
monochromatic
#0F0D17 #28223E #423866 #5C4E8E #796BAE
Accessibility & contrast
On white
10.56
#423866 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#423866 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #423866
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##423866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##423866 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#2B3E65
Tritanopia (blue-blind)
#3A414A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #423866; /* rgb */ color: rgb(66, 56, 102); /* oklch */ color: oklch(37.4% 0.078 292.2);
Tailwind
colors: {
custom: {
50: '#786e92',
500: '#423866',
950: '#000000',
},
}SCSS
$custom: #423866; $custom-light: #786e92; $custom-dark: #000000;
JSON
{
"hex": "#423866",
"rgb": {
"r": 66,
"g": 56,
"b": 102
},
"hsl": {
"h": 253.043,
"s": 29.114,
"l": 30.98
},
"oklch": {
"l": 0.37351,
"c": 0.07757,
"h": 292.2
},
"luminance": 0.04946
}Semantic roles & 50–950 ramp
primary
#423866
secondary
#8B9663
accent
#C562B0
background
#F7F6F9
surface
#EDECF1
border
#C8C7CB
text
#09070D
muted
#7B7A7E