#4726B1#4726B1
#4726B1 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.202 H 284.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4726B1 |
|---|---|
| RGB | rgb(71, 38, 177) |
| HSL | hsl(254, 65%, 42%) |
| HSV | hsv(254, 79%, 69%) |
| CMYK | cmyk(59.9%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(29.16, 50.67, -67.89) |
| CIE-LCH | lch(29.16, 84.71, 306.74°) |
| OKLab | oklab(41.21% 0.049 -0.1957) |
| OKLCH | oklch(41.21% 0.202 284.1) |
| XYZ | xyz(11.2250, 5.8994, 42.1336) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.79
Violet Blue
#510AC9
ΔE00 4.14
Purple Blue
#5D21D0
ΔE00 5.03
True Blue
#010FCC
ΔE00 5.61
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Blurple
#5539CC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4726B1 #90B126
analogous
#264AB1 #4726B1 #8D26B1
triadic
#4726B1 #B14726 #26B147
tetradic
#4726B1 #B1264A #90B126 #26B18D
square
#4726B1 #B1264A #90B126 #26B18D
split-complementary
#4726B1 #B18D26 #4AB126
monochromatic
#1F104C #331B7F #4726B1 #623FD6 #8B71E0
Accessibility & contrast
On white
9.63
#4726B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4726B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4726B1
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4726B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4726B1 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4726b1; /* rgb */ color: rgb(71, 38, 177); /* oklch */ color: oklch(41.2% 0.202 284.1);
Tailwind
colors: {
custom: {
50: '#8765ca',
500: '#4726b1',
950: '#000000',
},
}SCSS
$custom: #4726b1; $custom-light: #8765ca; $custom-dark: #000000;
JSON
{
"hex": "#4726b1",
"rgb": {
"r": 71,
"g": 38,
"b": 177
},
"hsl": {
"h": 254.245,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.41207,
"c": 0.20172,
"h": 284.1
},
"luminance": 0.059
}Semantic roles & 50–950 ramp
primary
#4726B1
secondary
#B2C76B
accent
#E840C0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82