#4716B4#4716B4
#4716B4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 40.0% C 0.217 H 285.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4716B4 |
|---|---|
| RGB | rgb(71, 22, 180) |
| HSL | hsl(259, 78%, 40%) |
| HSV | hsv(259, 88%, 71%) |
| CMYK | cmyk(60.6%, 87.8%, 0%, 29.4%) |
| CIE-LAB | lab(27.32, 57.83, -72.71) |
| CIE-LCH | lch(27.32, 92.91, 308.50°) |
| OKLab | oklab(40.04% 0.0562 -0.2095) |
| OKLCH | oklch(40.04% 0.217 285) |
| XYZ | xyz(11.1211, 5.2080, 43.5904) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.59
Violet Blue
#510AC9
ΔE00 2.94
Ultramarine
#2000B1
ΔE00 4.44
True Blue
#010FCC
ΔE00 4.62
Mediumblue
#0000CD
ΔE00 4.83
Ultramarine Blue
#1805DB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4716B4 #83B416
analogous
#1634B4 #4716B4 #9616B4
triadic
#4716B4 #B44716 #16B447
tetradic
#4716B4 #B41634 #83B416 #16B496
square
#4716B4 #B41634 #83B416 #16B496
split-complementary
#4716B4 #B49616 #34B416
monochromatic
#1C0947 #310F7D #4716B4 #5F23E4 #875AEB
Accessibility & contrast
On white
10.29
#4716B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4716B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4716B4
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4716B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4716B4 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4716b4; /* rgb */ color: rgb(71, 22, 180); /* oklch */ color: oklch(40.0% 0.217 285.0);
Tailwind
colors: {
custom: {
50: '#895ecc',
500: '#4716b4',
950: '#000000',
},
}SCSS
$custom: #4716b4; $custom-light: #895ecc; $custom-dark: #000000;
JSON
{
"hex": "#4716b4",
"rgb": {
"r": 71,
"g": 22,
"b": 180
},
"hsl": {
"h": 258.608,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.40037,
"c": 0.21692,
"h": 285
},
"luminance": 0.05209
}Semantic roles & 50–950 ramp
primary
#4716B4
secondary
#A9CE58
accent
#F533B9
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982