#4726B9#4726B9
#4726B9 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.211 H 282.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4726B9 |
|---|---|
| RGB | rgb(71, 38, 185) |
| HSL | hsl(253, 66%, 44%) |
| HSV | hsv(253, 79%, 73%) |
| CMYK | cmyk(61.6%, 79.5%, 0%, 27.5%) |
| CIE-LAB | lab(29.98, 52.96, -71.29) |
| CIE-LCH | lch(29.98, 88.81, 306.61°) |
| OKLab | oklab(42.02% 0.0466 -0.2056) |
| OKLCH | oklch(42.02% 0.211 282.8) |
| XYZ | xyz(12.0459, 6.2278, 46.4568) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
Violet Blue
#510AC9
ΔE00 3.53
Purple Blue
#5D21D0
ΔE00 4.18
True Blue
#010FCC
ΔE00 5.21
Blurple
#5539CC
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4726B9 #98B926
analogous
#264FB9 #4726B9 #9026B9
triadic
#4726B9 #B94726 #26B947
tetradic
#4726B9 #B9264F #98B926 #26B990
square
#4726B9 #B9264F #98B926 #26B990
split-complementary
#4726B9 #B99026 #4FB926
monochromatic
#201153 #341C86 #4726B9 #6544D9 #8F76E3
Accessibility & contrast
On white
9.35
#4726B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#4726B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4726B9
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4726B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4726B9 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4726b9; /* rgb */ color: rgb(71, 38, 185); /* oklch */ color: oklch(42.0% 0.211 282.8);
Tailwind
colors: {
custom: {
50: '#8966cf',
500: '#4726b9',
950: '#000000',
},
}SCSS
$custom: #4726b9; $custom-light: #8966cf; $custom-dark: #000000;
JSON
{
"hex": "#4726b9",
"rgb": {
"r": 71,
"g": 38,
"b": 185
},
"hsl": {
"h": 253.469,
"s": 65.919,
"l": 43.725
},
"oklch": {
"l": 0.42024,
"c": 0.21082,
"h": 282.8
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#4726B9
secondary
#B6CA70
accent
#E93FC3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82