#4A319E#4A319E
#4A319E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.167 H 287.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4A319E |
|---|---|
| RGB | rgb(74, 49, 158) |
| HSL | hsl(254, 53%, 41%) |
| HSV | hsv(254, 69%, 62%) |
| CMYK | cmyk(53.2%, 69%, 0%, 38%) |
| CIE-LAB | lab(29.71, 39.72, -55.51) |
| CIE-LCH | lch(29.71, 68.26, 305.58°) |
| OKLab | oklab(41.13% 0.0492 -0.1594) |
| OKLCH | oklch(41.13% 0.167 287.2) |
| XYZ | xyz(10.0921, 6.1206, 32.9907) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.16
Blueberry
#464196
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 5.57
Indigo Blue
#3A18B1
ΔE00 5.75
Sapphire (survey)
#2138AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A319E #859E31
analogous
#314F9E #4A319E #80319E
triadic
#4A319E #9E4A31 #319E4A
tetradic
#4A319E #9E314F #859E31 #319E80
square
#4A319E #9E314F #859E31 #319E80
split-complementary
#4A319E #9E8031 #4F9E31
monochromatic
#1E1441 #34236F #4A319E #6446C6 #8B75D4
Accessibility & contrast
On white
9.44
#4A319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4A319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A319E
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A319E | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#294D63
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a319e; /* rgb */ color: rgb(74, 49, 158); /* oklch */ color: oklch(41.1% 0.167 287.2);
Tailwind
colors: {
custom: {
50: '#856bbc',
500: '#4a319e',
950: '#000000',
},
}SCSS
$custom: #4a319e; $custom-light: #856bbc; $custom-dark: #000000;
JSON
{
"hex": "#4a319e",
"rgb": {
"r": 74,
"g": 49,
"b": 158
},
"hsl": {
"h": 253.761,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.4113,
"c": 0.16685,
"h": 287.2
},
"luminance": 0.06121
}Semantic roles & 50–950 ramp
primary
#4A319E
secondary
#AABC6E
accent
#DC4CBB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81