#4A319F#4A319F
#4A319F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.168 H 287.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4A319F |
|---|---|
| RGB | rgb(74, 49, 159) |
| HSL | hsl(254, 53%, 41%) |
| HSV | hsv(254, 69%, 62%) |
| CMYK | cmyk(53.5%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.80, 40.02, -55.98) |
| CIE-LCH | lch(29.80, 68.81, 305.56°) |
| OKLab | oklab(41.22% 0.0491 -0.1608) |
| OKLCH | oklch(41.22% 0.168 287) |
| XYZ | xyz(10.1785, 6.1552, 33.4459) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.27
Blueberry
#464196
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 5.42
Rebeccapurple
#663399
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A319F #869F31
analogous
#314F9F #4A319F #81319F
triadic
#4A319F #9F4A31 #319F4A
tetradic
#4A319F #9F314F #869F31 #319F81
square
#4A319F #9F314F #869F31 #319F81
split-complementary
#4A319F #9F8131 #4F9F31
monochromatic
#1E1441 #342370 #4A319F #6447C6 #8B76D5
Accessibility & contrast
On white
9.41
#4A319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#4A319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A319F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A319F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#284D64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a319f; /* rgb */ color: rgb(74, 49, 159); /* oklch */ color: oklch(41.2% 0.168 287.0);
Tailwind
colors: {
custom: {
50: '#856bbc',
500: '#4a319f',
950: '#000000',
},
}SCSS
$custom: #4a319f; $custom-light: #856bbc; $custom-dark: #000000;
JSON
{
"hex": "#4a319f",
"rgb": {
"r": 74,
"g": 49,
"b": 159
},
"hsl": {
"h": 253.636,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.41218,
"c": 0.16811,
"h": 287
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#4A319F
secondary
#ABBD6F
accent
#DC4CBB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81