#472AB2#472AB2
#472AB2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.199 H 283.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #472AB2 |
|---|---|
| RGB | rgb(71, 42, 178) |
| HSL | hsl(253, 62%, 43%) |
| HSV | hsv(253, 76%, 70%) |
| CMYK | cmyk(60.1%, 76.4%, 0%, 30.2%) |
| CIE-LAB | lab(29.93, 49.02, -67.20) |
| CIE-LCH | lch(29.93, 83.18, 306.11°) |
| OKLab | oklab(41.78% 0.0461 -0.1937) |
| OKLCH | oklch(41.78% 0.199 283.4) |
| XYZ | xyz(11.4599, 6.2091, 42.7054) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.49
Violet Blue
#510AC9
ΔE00 4.58
Purple Blue
#5D21D0
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.26
Blurple
#5539CC
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472AB2 #95B22A
analogous
#2A51B2 #472AB2 #8B2AB2
triadic
#472AB2 #B2472A #2AB247
tetradic
#472AB2 #B22A51 #95B22A #2AB28B
square
#472AB2 #B22A51 #95B22A #2AB28B
split-complementary
#472AB2 #B28B2A #51B22A
monochromatic
#1F134F #331E80 #472AB2 #6446D3 #8D77DF
Accessibility & contrast
On white
9.37
#472AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#472AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472AB2
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472AB2 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #472ab2; /* rgb */ color: rgb(71, 42, 178); /* oklch */ color: oklch(41.8% 0.199 283.4);
Tailwind
colors: {
custom: {
50: '#8767ca',
500: '#472ab2',
950: '#000000',
},
}SCSS
$custom: #472ab2; $custom-light: #8767ca; $custom-dark: #000000;
JSON
{
"hex": "#472ab2",
"rgb": {
"r": 71,
"g": 42,
"b": 178
},
"hsl": {
"h": 252.794,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.4178,
"c": 0.19914,
"h": 283.4
},
"luminance": 0.0621
}Semantic roles & 50–950 ramp
primary
#472AB2
secondary
#B4C771
accent
#E543C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82