#4718A0#4718A0
#4718A0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.194 H 288.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4718A0 |
|---|---|
| RGB | rgb(71, 24, 160) |
| HSL | hsl(261, 74%, 36%) |
| HSV | hsv(261, 85%, 63%) |
| CMYK | cmyk(55.6%, 85%, 0%, 37.3%) |
| CIE-LAB | lab(25.35, 51.90, -63.90) |
| CIE-LCH | lch(25.35, 82.32, 309.08°) |
| OKLab | oklab(38.05% 0.0631 -0.1839) |
| OKLCH | oklch(38.05% 0.194 288.9) |
| XYZ | xyz(9.2685, 4.5305, 33.6370) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.80
Ultramarine
#2000B1
ΔE00 4.86
Violet Blue
#510AC9
ΔE00 5.46
Indigo
#4B0082
ΔE00 5.51
Indigo (survey)
#380282
ΔE00 5.59
Cobalt Blue
#030AA7
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4718A0 #71A018
analogous
#182DA0 #4718A0 #8B18A0
triadic
#4718A0 #A04718 #18A047
tetradic
#4718A0 #A0182D #71A018 #18A08B
square
#4718A0 #A0182D #71A018 #18A08B
split-complementary
#4718A0 #A08B18 #2DA018
monochromatic
#180836 #2F106B #4718A0 #5F20D5 #824EE4
Accessibility & contrast
On white
11.02
#4718A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4718A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4718A0
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4718A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4718A0 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#21435F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4718a0; /* rgb */ color: rgb(71, 24, 160); /* oklch */ color: oklch(38.0% 0.194 288.9);
Tailwind
colors: {
custom: {
50: '#855dbd',
500: '#4718a0',
950: '#000000',
},
}SCSS
$custom: #4718a0; $custom-light: #855dbd; $custom-dark: #000000;
JSON
{
"hex": "#4718a0",
"rgb": {
"r": 71,
"g": 24,
"b": 160
},
"hsl": {
"h": 260.735,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.3805,
"c": 0.19441,
"h": 288.9
},
"luminance": 0.04531
}Semantic roles & 50–950 ramp
primary
#4718A0
secondary
#9DC64D
accent
#F137B1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981