#42183F#42183F
#42183F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.0% C 0.086 H 330.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #42183F |
|---|---|
| RGB | rgb(66, 24, 63) |
| HSL | hsl(304, 47%, 18%) |
| HSV | hsv(304, 64%, 26%) |
| CMYK | cmyk(0%, 63.6%, 4.5%, 74.1%) |
| CIE-LAB | lab(16.36, 26.40, -15.53) |
| CIE-LCH | lch(16.36, 30.63, 329.53°) |
| OKLab | oklab(29% 0.0748 -0.0425) |
| OKLCH | oklch(29% 0.086 330.4) |
| XYZ | xyz(3.4706, 2.1706, 4.9378) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Aubergine
#3D0734
ΔE00 3.65
Eggplant
#380835
ΔE00 3.66
Eggplant Purple
#430541
ΔE00 4.40
Deep Violet
#490648
ΔE00 5.07
Dark Purple
#35063E
ΔE00 5.54
Dark Plum
#3F012C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42183F #18421B
analogous
#301842 #42183F #42182A
triadic
#42183F #3F4218 #183F42
tetradic
#42183F #423018 #18421B #182A42
square
#42183F #423018 #18421B #182A42
split-complementary
#42183F #2A4218 #184230
monochromatic
#160815 #160815 #42183F #6F286A #9C3995
Accessibility & contrast
On white
14.64
#42183F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#42183F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42183F
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42183F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42183F | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#451C28
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #42183f; /* rgb */ color: rgb(66, 24, 63); /* oklch */ color: oklch(29.0% 0.086 330.4);
Tailwind
colors: {
custom: {
50: '#785874',
500: '#42183f',
950: '#000000',
},
}SCSS
$custom: #42183f; $custom-light: #785874; $custom-dark: #000000;
JSON
{
"hex": "#42183f",
"rgb": {
"r": 66,
"g": 24,
"b": 63
},
"hsl": {
"h": 304.286,
"s": 46.667,
"l": 17.647
},
"oklch": {
"l": 0.28998,
"c": 0.08603,
"h": 330.4
},
"luminance": 0.0217
}Semantic roles & 50–950 ramp
primary
#42183F
secondary
#3D7941
accent
#D65B51
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B