#47239D#47239D
#47239D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 288.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #47239D |
|---|---|
| RGB | rgb(71, 35, 157) |
| HSL | hsl(258, 64%, 38%) |
| HSV | hsv(258, 78%, 62%) |
| CMYK | cmyk(54.8%, 77.7%, 0%, 38.4%) |
| CIE-LAB | lab(26.66, 46.37, -59.91) |
| CIE-LCH | lch(26.66, 75.76, 307.74°) |
| OKLab | oklab(38.87% 0.057 -0.1723) |
| OKLCH | oklch(38.87% 0.182 288.3) |
| XYZ | xyz(9.2836, 4.9755, 32.3629) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.55
Ultramarine
#2000B1
ΔE00 6.16
Violet Blue
#510AC9
ΔE00 6.16
Royal
#0C1793
ΔE00 6.40
Indigo
#4B0082
ΔE00 6.45
Indigo (survey)
#380282
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47239D #799D23
analogous
#233C9D #47239D #84239D
triadic
#47239D #9D4723 #239D47
tetradic
#47239D #9D233C #799D23 #239D84
square
#47239D #9D233C #799D23 #239D84
split-complementary
#47239D #9D8423 #3C9D23
monochromatic
#1A0D39 #30186B #47239D #5E2ECF #845FDB
Accessibility & contrast
On white
10.53
#47239D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#47239D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47239D
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47239D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47239D | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#24465F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #47239d; /* rgb */ color: rgb(71, 35, 157); /* oklch */ color: oklch(38.9% 0.182 288.3);
Tailwind
colors: {
custom: {
50: '#8462bb',
500: '#47239d',
950: '#000000',
},
}SCSS
$custom: #47239d; $custom-light: #8462bb; $custom-dark: #000000;
JSON
{
"hex": "#47239d",
"rgb": {
"r": 71,
"g": 35,
"b": 157
},
"hsl": {
"h": 257.705,
"s": 63.542,
"l": 37.647
},
"oklch": {
"l": 0.38866,
"c": 0.18151,
"h": 288.3
},
"luminance": 0.04976
}Semantic roles & 50–950 ramp
primary
#47239D
secondary
#A3C05C
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81