#474181#474181
#474181 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.4% C 0.104 H 285.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #474181 |
|---|---|
| RGB | rgb(71, 65, 129) |
| HSL | hsl(246, 33%, 38%) |
| HSV | hsv(246, 50%, 51%) |
| CMYK | cmyk(45%, 49.6%, 0%, 49.4%) |
| CIE-LAB | lab(31.13, 20.03, -35.42) |
| CIE-LCH | lch(31.13, 40.69, 299.49°) |
| OKLab | oklab(41.42% 0.0272 -0.1004) |
| OKLCH | oklch(41.42% 0.104 285.2) |
| XYZ | xyz(8.4501, 6.7048, 21.6135) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.75
Blueberry
#464196
ΔE00 4.10
Twilight
#4E518B
ΔE00 5.23
Dusk
#4E5481
ΔE00 6.87
Ocean Blue
#4F42B5
ΔE00 8.85
Cobalt (survey)
#1E488F
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474181 #7B8141
analogous
#415B81 #474181 #674181
triadic
#474181 #814741 #418147
tetradic
#474181 #81415B #7B8141 #418167
square
#474181 #81415B #7B8141 #418167
split-complementary
#474181 #816741 #5B8141
monochromatic
#1A1830 #312C58 #474181 #5D56AA #847EBE
Accessibility & contrast
On white
8.97
#474181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#474181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474181
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474181 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#254780
Tritanopia (blue-blind)
#354E5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #474181; /* rgb */ color: rgb(71, 65, 129); /* oklch */ color: oklch(41.4% 0.104 285.2);
Tailwind
colors: {
custom: {
50: '#7e75a6',
500: '#474181',
950: '#000000',
},
}SCSS
$custom: #474181; $custom-light: #7e75a6; $custom-dark: #000000;
JSON
{
"hex": "#474181",
"rgb": {
"r": 71,
"g": 65,
"b": 129
},
"hsl": {
"h": 245.625,
"s": 32.99,
"l": 38.039
},
"oklch": {
"l": 0.41423,
"c": 0.10403,
"h": 285.2
},
"luminance": 0.06705
}Semantic roles & 50–950 ramp
primary
#474181
secondary
#A4A975
accent
#C95FBF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F