#4726B6#4726B6
#4726B6 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.207 H 283.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4726B6 |
|---|---|
| RGB | rgb(71, 38, 182) |
| HSL | hsl(254, 65%, 43%) |
| HSV | hsv(254, 79%, 71%) |
| CMYK | cmyk(61%, 79.1%, 0%, 28.6%) |
| CIE-LAB | lab(29.67, 52.10, -70.02) |
| CIE-LCH | lch(29.67, 87.28, 306.65°) |
| OKLab | oklab(41.72% 0.0475 -0.2019) |
| OKLCH | oklch(41.72% 0.207 283.2) |
| XYZ | xyz(11.7325, 6.1024, 44.8065) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.95
Violet Blue
#510AC9
ΔE00 3.73
Purple Blue
#5D21D0
ΔE00 4.49
True Blue
#010FCC
ΔE00 5.33
Blurple
#5539CC
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4726B6 #95B626
analogous
#264DB6 #4726B6 #8F26B6
triadic
#4726B6 #B64726 #26B647
tetradic
#4726B6 #B6264D #95B626 #26B68F
square
#4726B6 #B6264D #95B626 #26B68F
split-complementary
#4726B6 #B68F26 #4DB626
monochromatic
#1F1151 #331B83 #4726B6 #6442D7 #8D74E2
Accessibility & contrast
On white
9.46
#4726B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4726B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4726B6
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4726B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4726B6 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4726b6; /* rgb */ color: rgb(71, 38, 182); /* oklch */ color: oklch(41.7% 0.207 283.2);
Tailwind
colors: {
custom: {
50: '#8865cd',
500: '#4726b6',
950: '#000000',
},
}SCSS
$custom: #4726b6; $custom-light: #8865cd; $custom-dark: #000000;
JSON
{
"hex": "#4726b6",
"rgb": {
"r": 71,
"g": 38,
"b": 182
},
"hsl": {
"h": 253.75,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.41716,
"c": 0.20742,
"h": 283.2
},
"luminance": 0.06103
}Semantic roles & 50–950 ramp
primary
#4726B6
secondary
#B4C96E
accent
#E83FC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82