#4D27B6#4D27B6
#4D27B6 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.206 H 285.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4D27B6 |
|---|---|
| RGB | rgb(77, 39, 182) |
| HSL | hsl(256, 65%, 43%) |
| HSV | hsv(256, 79%, 71%) |
| CMYK | cmyk(57.7%, 78.6%, 0%, 28.6%) |
| CIE-LAB | lab(30.41, 52.35, -68.77) |
| CIE-LCH | lch(30.41, 86.43, 307.28°) |
| OKLab | oklab(42.37% 0.056 -0.1981) |
| OKLCH | oklch(42.37% 0.206 285.8) |
| XYZ | xyz(12.2270, 6.4055, 44.8390) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.57
Violet Blue
#510AC9
ΔE00 3.67
Purple Blue
#5D21D0
ΔE00 4.00
Blurple
#5539CC
ΔE00 5.15
Blue With A Hint Of Purple
#533CC6
ΔE00 5.24
True Blue
#010FCC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D27B6 #90B627
analogous
#2748B6 #4D27B6 #9427B6
triadic
#4D27B6 #B64D27 #27B64D
tetradic
#4D27B6 #B62748 #90B627 #27B694
square
#4D27B6 #B62748 #90B627 #27B694
split-complementary
#4D27B6 #B69427 #48B627
monochromatic
#221151 #381C84 #4D27B6 #6B43D7 #9276E2
Accessibility & contrast
On white
9.21
#4D27B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#4D27B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D27B6
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D27B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D27B6 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#16516E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4d27b6; /* rgb */ color: rgb(77, 39, 182); /* oklch */ color: oklch(42.4% 0.206 285.8);
Tailwind
colors: {
custom: {
50: '#8b67cd',
500: '#4d27b6',
950: '#000000',
},
}SCSS
$custom: #4d27b6; $custom-light: #8b67cd; $custom-dark: #000000;
JSON
{
"hex": "#4d27b6",
"rgb": {
"r": 77,
"g": 39,
"b": 182
},
"hsl": {
"h": 255.944,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.42374,
"c": 0.20586,
"h": 285.8
},
"luminance": 0.06406
}Semantic roles & 50–950 ramp
primary
#4D27B6
secondary
#B1C970
accent
#E840BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82