#4726B3#4726B3
#4726B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.204 H 283.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4726B3 |
|---|---|
| RGB | rgb(71, 38, 179) |
| HSL | hsl(254, 65%, 43%) |
| HSV | hsv(254, 79%, 70%) |
| CMYK | cmyk(60.3%, 78.8%, 0%, 29.8%) |
| CIE-LAB | lab(29.36, 51.24, -68.74) |
| CIE-LCH | lch(29.36, 85.74, 306.70°) |
| OKLab | oklab(41.41% 0.0484 -0.1982) |
| OKLCH | oklch(41.41% 0.204 283.7) |
| XYZ | xyz(11.4258, 5.9797, 43.1912) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.83
Violet Blue
#510AC9
ΔE00 3.97
Purple Blue
#5D21D0
ΔE00 4.81
True Blue
#010FCC
ΔE00 5.49
Blurple
#5539CC
ΔE00 5.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4726B3 #92B326
analogous
#264BB3 #4726B3 #8E26B3
triadic
#4726B3 #B34726 #26B347
tetradic
#4726B3 #B3264B #92B326 #26B38E
square
#4726B3 #B3264B #92B326 #26B38E
split-complementary
#4726B3 #B38E26 #4BB326
monochromatic
#1F114E #331B81 #4726B3 #6340D6 #8C72E1
Accessibility & contrast
On white
9.56
#4726B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#4726B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4726B3
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4726B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4726B3 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4726b3; /* rgb */ color: rgb(71, 38, 179); /* oklch */ color: oklch(41.4% 0.204 283.7);
Tailwind
colors: {
custom: {
50: '#8865cb',
500: '#4726b3',
950: '#000000',
},
}SCSS
$custom: #4726b3; $custom-light: #8865cb; $custom-dark: #000000;
JSON
{
"hex": "#4726b3",
"rgb": {
"r": 71,
"g": 38,
"b": 179
},
"hsl": {
"h": 254.043,
"s": 64.977,
"l": 42.549
},
"oklch": {
"l": 0.4141,
"c": 0.204,
"h": 283.7
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#4726B3
secondary
#B3C86D
accent
#E840C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82