#4727B6#4727B6
#4727B6 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.8% C 0.207 H 283.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4727B6 |
|---|---|
| RGB | rgb(71, 39, 182) |
| HSL | hsl(253, 65%, 43%) |
| HSV | hsv(253, 79%, 71%) |
| CMYK | cmyk(61%, 78.6%, 0%, 28.6%) |
| CIE-LAB | lab(29.83, 51.64, -69.76) |
| CIE-LCH | lch(29.83, 86.79, 306.51°) |
| OKLab | oklab(41.83% 0.0469 -0.2011) |
| OKLCH | oklch(41.83% 0.207 283.1) |
| XYZ | xyz(11.7649, 6.1672, 44.8173) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Violet Blue
#510AC9
ΔE00 3.86
Purple Blue
#5D21D0
ΔE00 4.49
Blurple
#5539CC
ΔE00 5.40
True Blue
#010FCC
ΔE00 5.43
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4727B6 #96B627
analogous
#274EB6 #4727B6 #8E27B6
triadic
#4727B6 #B64727 #27B647
tetradic
#4727B6 #B6274E #96B627 #27B68E
square
#4727B6 #B6274E #96B627 #27B68E
split-complementary
#4727B6 #B68E27 #4EB627
monochromatic
#201151 #331C84 #4727B6 #6443D7 #8E76E2
Accessibility & contrast
On white
9.40
#4727B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#4727B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4727B6
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4727B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4727B6 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4727b6; /* rgb */ color: rgb(71, 39, 182); /* oklch */ color: oklch(41.8% 0.207 283.1);
Tailwind
colors: {
custom: {
50: '#8866cd',
500: '#4727b6',
950: '#000000',
},
}SCSS
$custom: #4727b6; $custom-light: #8866cd; $custom-dark: #000000;
JSON
{
"hex": "#4727b6",
"rgb": {
"r": 71,
"g": 39,
"b": 182
},
"hsl": {
"h": 253.427,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.41828,
"c": 0.20654,
"h": 283.1
},
"luminance": 0.06168
}Semantic roles & 50–950 ramp
primary
#4727B6
secondary
#B5C970
accent
#E840C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82