#474255#474255
#474255 is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.2% C 0.032 H 296.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #474255 |
|---|---|
| RGB | rgb(71, 66, 85) |
| HSL | hsl(256, 13%, 30%) |
| HSV | hsv(256, 22%, 33%) |
| CMYK | cmyk(16.5%, 22.4%, 0%, 66.7%) |
| CIE-LAB | lab(29.14, 6.56, -10.58) |
| CIE-LCH | lch(29.14, 12.45, 301.81°) |
| OKLab | oklab(39.16% 0.0147 -0.0288) |
| OKLCH | oklch(39.16% 0.032 296.9) |
| XYZ | xyz(6.1861, 5.8919, 9.4039) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 11.24
Navy Blue
#1B2A4A
ΔE00 11.91
Dark Grey
#363737
ΔE00 12.15
Onyx
#353839
ΔE00 12.30
Charcoal Grey
#3C4142
ΔE00 12.40
Charcoal
#36454F
ΔE00 12.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474255 #505542
analogous
#424755 #474255 #514255
triadic
#474255 #554742 #425547
tetradic
#474255 #554247 #505542 #425551
square
#474255 #554247 #505542 #425551
split-complementary
#474255 #555142 #475542
monochromatic
#0E0D11 #2A2733 #474255 #645D77 #827A98
Accessibility & contrast
On white
9.64
#474255 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#474255 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474255
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474255 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#3F4454
Tritanopia (blue-blind)
#454548
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #474255; /* rgb */ color: rgb(71, 66, 85); /* oklch */ color: oklch(39.2% 0.032 296.9);
Tailwind
colors: {
custom: {
50: '#7a7685',
500: '#474255',
950: '#000000',
},
}SCSS
$custom: #474255; $custom-light: #7a7685; $custom-dark: #000000;
JSON
{
"hex": "#474255",
"rgb": {
"r": 71,
"g": 66,
"b": 85
},
"hsl": {
"h": 255.789,
"s": 12.583,
"l": 29.608
},
"oklch": {
"l": 0.39161,
"c": 0.03233,
"h": 296.9
},
"luminance": 0.05892
}Semantic roles & 50–950 ramp
primary
#474255
secondary
#7E846F
accent
#B572A4
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#09080B
muted
#7B7B7C