#4D27C2#4D27C2
#4D27C2 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.219 H 283.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4D27C2 |
|---|---|
| RGB | rgb(77, 39, 194) |
| HSL | hsl(255, 67%, 46%) |
| HSV | hsv(255, 80%, 76%) |
| CMYK | cmyk(60.3%, 79.9%, 0%, 23.9%) |
| CIE-LAB | lab(31.63, 55.70, -73.86) |
| CIE-LCH | lch(31.63, 92.51, 307.02°) |
| OKLab | oklab(43.58% 0.0523 -0.2129) |
| OKLCH | oklch(43.58% 0.219 283.8) |
| XYZ | xyz(13.5207, 6.9230, 51.6523) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.80
Violet Blue
#510AC9
ΔE00 3.15
Blurple
#5539CC
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.34
Blue With A Hint Of Purple
#533CC6
ΔE00 4.54
Blue Violet
#5D06E9
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D27C2 #9CC227
analogous
#274EC2 #4D27C2 #9B27C2
triadic
#4D27C2 #C24D27 #27C24D
tetradic
#4D27C2 #C2274E #9CC227 #27C29B
square
#4D27C2 #C2274E #9CC227 #27C29B
split-complementary
#4D27C2 #C29B27 #4EC227
monochromatic
#25135C #391D8F #4D27C2 #6F4BDB #977EE5
Accessibility & contrast
On white
8.81
#4D27C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#4D27C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D27C2
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D27C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D27C2 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005675
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4d27c2; /* rgb */ color: rgb(77, 39, 194); /* oklch */ color: oklch(43.6% 0.219 283.8);
Tailwind
colors: {
custom: {
50: '#8d67d6',
500: '#4d27c2',
950: '#000000',
},
}SCSS
$custom: #4d27c2; $custom-light: #8d67d6; $custom-dark: #000000;
JSON
{
"hex": "#4d27c2",
"rgb": {
"r": 77,
"g": 39,
"b": 194
},
"hsl": {
"h": 254.71,
"s": 66.524,
"l": 45.686
},
"oklch": {
"l": 0.43583,
"c": 0.21927,
"h": 283.8
},
"luminance": 0.06924
}Semantic roles & 50–950 ramp
primary
#4D27C2
secondary
#B8CE77
accent
#E93EBF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83