#42355F#42355F
#42355F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.3% C 0.072 H 296.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #42355F |
|---|---|
| RGB | rgb(66, 53, 95) |
| HSL | hsl(259, 28%, 29%) |
| HSV | hsv(259, 44%, 37%) |
| CMYK | cmyk(30.5%, 44.2%, 0%, 62.7%) |
| CIE-LAB | lab(25.35, 16.14, -22.98) |
| CIE-LCH | lch(25.35, 28.08, 305.08°) |
| OKLab | oklab(36.29% 0.0326 -0.0642) |
| OKLCH | oklch(36.29% 0.072 296.9) |
| XYZ | xyz(5.5849, 4.5306, 11.4045) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 9.37
Navy Blue
#1B2A4A
ΔE00 10.23
Dusk
#4E5481
ΔE00 11.11
Twilight
#4E518B
ΔE00 11.17
Blueberry
#464196
ΔE00 11.41
Grape
#6C3461
ΔE00 11.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42355F #525F35
analogous
#353D5F #42355F #57355F
triadic
#42355F #5F4235 #355F42
tetradic
#42355F #5F353D #525F35 #355F57
square
#42355F #5F353D #525F35 #355F57
split-complementary
#42355F #5F5735 #3D5F35
monochromatic
#0E0B14 #271F38 #42355F #5D4B86 #7A65A9
Accessibility & contrast
On white
11.02
#42355F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#42355F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42355F
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42355F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42355F | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#2B3C5E
Tritanopia (blue-blind)
#3C3C45
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #42355f; /* rgb */ color: rgb(66, 53, 95); /* oklch */ color: oklch(36.3% 0.072 296.9);
Tailwind
colors: {
custom: {
50: '#776c8c',
500: '#42355f',
950: '#000000',
},
}SCSS
$custom: #42355f; $custom-light: #776c8c; $custom-dark: #000000;
JSON
{
"hex": "#42355f",
"rgb": {
"r": 66,
"g": 53,
"b": 95
},
"hsl": {
"h": 258.571,
"s": 28.378,
"l": 29.02
},
"oklch": {
"l": 0.36294,
"c": 0.07205,
"h": 296.9
},
"luminance": 0.04531
}Semantic roles & 50–950 ramp
primary
#42355F
secondary
#819060
accent
#C563A6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09070C
muted
#7B7A7D