#472BAC#472BAC
#472BAC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.191 H 284.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #472BAC |
|---|---|
| RGB | rgb(71, 43, 172) |
| HSL | hsl(253, 60%, 42%) |
| HSV | hsv(253, 75%, 67%) |
| CMYK | cmyk(58.7%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(29.53, 46.74, -64.28) |
| CIE-LCH | lch(29.53, 79.48, 306.02°) |
| OKLab | oklab(41.32% 0.047 -0.1852) |
| OKLCH | oklch(41.32% 0.191 284.2) |
| XYZ | xyz(10.9065, 6.0452, 39.6139) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.68
Violet Blue
#510AC9
ΔE00 5.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Purple Blue
#5D21D0
ΔE00 5.66
Blurple
#5539CC
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472BAC #90AC2B
analogous
#2B50AC #472BAC #872BAC
triadic
#472BAC #AC472B #2BAC47
tetradic
#472BAC #AC2B50 #90AC2B #2BAC87
square
#472BAC #AC2B50 #90AC2B #2BAC87
split-complementary
#472BAC #AC872B #50AC2B
monochromatic
#1F134A #331F7B #472BAC #6244D0 #8B75DC
Accessibility & contrast
On white
9.51
#472BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#472BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472BAC
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472BAC | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#0B4F69
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #472bac; /* rgb */ color: rgb(71, 43, 172); /* oklch */ color: oklch(41.3% 0.191 284.2);
Tailwind
colors: {
custom: {
50: '#8668c6',
500: '#472bac',
950: '#000000',
},
}SCSS
$custom: #472bac; $custom-light: #8668c6; $custom-dark: #000000;
JSON
{
"hex": "#472bac",
"rgb": {
"r": 71,
"g": 43,
"b": 172
},
"hsl": {
"h": 253.023,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.41316,
"c": 0.19106,
"h": 284.2
},
"luminance": 0.06046
}Semantic roles & 50–950 ramp
primary
#472BAC
secondary
#B2C46F
accent
#E345C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82