#42376E#42376E
#42376E is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.7% C 0.092 H 290.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #42376E |
|---|---|
| RGB | rgb(66, 55, 110) |
| HSL | hsl(252, 33%, 32%) |
| HSV | hsv(252, 50%, 43%) |
| CMYK | cmyk(40%, 50%, 0%, 56.9%) |
| CIE-LAB | lab(26.78, 19.30, -30.40) |
| CIE-LCH | lch(26.78, 36.00, 302.41°) |
| OKLab | oklab(37.66% 0.0321 -0.0859) |
| OKLCH | oklch(37.66% 0.092 290.5) |
| XYZ | xyz(6.4267, 5.0162, 15.3785) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.66
Blueberry
#464196
ΔE00 7.74
Twilight
#4E518B
ΔE00 8.89
Dusk
#4E5481
ΔE00 9.68
Navy Blue
#1B2A4A
ΔE00 10.22
Rebeccapurple
#663399
ΔE00 10.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42376E #636E37
analogous
#37486E #42376E #5E376E
triadic
#42376E #6E4237 #376E42
tetradic
#42376E #6E3748 #636E37 #376E5E
square
#42376E #6E3748 #636E37 #376E5E
split-complementary
#42376E #6E5E37 #486E37
monochromatic
#110E1C #2A2345 #42376E #5A4B97 #796BB5
Accessibility & contrast
On white
10.48
#42376E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#42376E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42376E
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42376E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42376E | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#243E6D
Tritanopia (blue-blind)
#37424D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #42376e; /* rgb */ color: rgb(66, 55, 110); /* oklch */ color: oklch(37.7% 0.092 290.5);
Tailwind
colors: {
custom: {
50: '#796e98',
500: '#42376e',
950: '#000000',
},
}SCSS
$custom: #42376e; $custom-light: #796e98; $custom-dark: #000000;
JSON
{
"hex": "#42376e",
"rgb": {
"r": 66,
"g": 55,
"b": 110
},
"hsl": {
"h": 252,
"s": 33.333,
"l": 32.353
},
"oklch": {
"l": 0.37657,
"c": 0.09168,
"h": 290.5
},
"luminance": 0.05016
}Semantic roles & 50–950 ramp
primary
#42376E
secondary
#929E63
accent
#C95EB4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070D
muted
#7B7A7E