#4A417A#4A417A
#4A417A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.2% C 0.093 H 288.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4A417A |
|---|---|
| RGB | rgb(74, 65, 122) |
| HSL | hsl(249, 30%, 37%) |
| HSV | hsv(249, 47%, 48%) |
| CMYK | cmyk(39.3%, 46.7%, 0%, 52.2%) |
| CIE-LAB | lab(30.98, 18.69, -31.27) |
| CIE-LCH | lch(30.98, 36.43, 300.86°) |
| OKLab | oklab(41.24% 0.0302 -0.0882) |
| OKLCH | oklch(41.24% 0.093 288.9) |
| XYZ | xyz(8.2262, 6.6413, 19.2571) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.32
Twilight
#4E518B
ΔE00 5.74
Blueberry
#464196
ΔE00 5.94
Dusk
#4E5481
ΔE00 6.80
Rebeccapurple
#663399
ΔE00 9.67
Ocean Blue
#4F42B5
ΔE00 10.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A417A #717A41
analogous
#41557A #4A417A #67417A
triadic
#4A417A #7A4A41 #417A4A
tetradic
#4A417A #7A4155 #717A41 #417A67
square
#4A417A #7A4155 #717A41 #417A67
split-complementary
#4A417A #7A6741 #557A41
monochromatic
#1A162A #322C52 #4A417A #6256A2 #867CB9
Accessibility & contrast
On white
9.02
#4A417A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4A417A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A417A
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A417A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A417A | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#3D4C57
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a417a; /* rgb */ color: rgb(74, 65, 122); /* oklch */ color: oklch(41.2% 0.093 288.9);
Tailwind
colors: {
custom: {
50: '#7f75a1',
500: '#4a417a',
950: '#000000',
},
}SCSS
$custom: #4a417a; $custom-light: #7f75a1; $custom-dark: #000000;
JSON
{
"hex": "#4a417a",
"rgb": {
"r": 74,
"g": 65,
"b": 122
},
"hsl": {
"h": 249.474,
"s": 30.481,
"l": 36.667
},
"oklch": {
"l": 0.4124,
"c": 0.09321,
"h": 288.9
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#4A417A
secondary
#9CA473
accent
#C761B7
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080F
muted
#7C7B7E