#47198E#47198E
#47198E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.174 H 293.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #47198E |
|---|---|
| RGB | rgb(71, 25, 142) |
| HSL | hsl(264, 70%, 33%) |
| HSV | hsv(264, 82%, 56%) |
| CMYK | cmyk(50%, 82.4%, 0%, 44.3%) |
| CIE-LAB | lab(23.63, 46.71, -55.66) |
| CIE-LCH | lch(23.63, 72.67, 310.01°) |
| OKLab | oklab(36.31% 0.0691 -0.1598) |
| OKLCH | oklch(36.31% 0.174 293.4) |
| XYZ | xyz(7.8273, 3.9876, 25.9432) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 5.30
Royal
#0C1793
ΔE00 6.29
Royal Purple (survey)
#4B006E
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47198E #608E19
analogous
#19258E #47198E #82198E
triadic
#47198E #8E4719 #198E47
tetradic
#47198E #8E1925 #608E19 #198E82
square
#47198E #8E1925 #608E19 #198E82
split-complementary
#47198E #8E8219 #258E19
monochromatic
#130726 #2D105A #47198E #6122C2 #8043DE
Accessibility & contrast
On white
11.68
#47198E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#47198E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47198E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47198E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47198E | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#303B54
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #47198e; /* rgb */ color: rgb(71, 25, 142); /* oklch */ color: oklch(36.3% 0.174 293.4);
Tailwind
colors: {
custom: {
50: '#825db0',
500: '#47198e',
950: '#000000',
},
}SCSS
$custom: #47198e; $custom-light: #825db0; $custom-dark: #000000;
JSON
{
"hex": "#47198e",
"rgb": {
"r": 71,
"g": 25,
"b": 142
},
"hsl": {
"h": 263.59,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.36307,
"c": 0.17409,
"h": 293.4
},
"luminance": 0.03988
}Semantic roles & 50–950 ramp
primary
#47198E
secondary
#8FBF44
accent
#ED3BA7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980