#4F27C2#4F27C2
#4F27C2 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.219 H 284.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4F27C2 |
|---|---|
| RGB | rgb(79, 39, 194) |
| HSL | hsl(255, 67%, 46%) |
| HSV | hsv(255, 80%, 76%) |
| CMYK | cmyk(59.3%, 79.9%, 0%, 23.9%) |
| CIE-LAB | lab(31.82, 55.92, -73.53) |
| CIE-LCH | lch(31.82, 92.38, 307.25°) |
| OKLab | oklab(43.76% 0.0553 -0.2119) |
| OKLCH | oklch(43.76% 0.219 284.6) |
| XYZ | xyz(13.6846, 7.0075, 51.6599) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.61
Violet Blue
#510AC9
ΔE00 3.13
Blurple
#5539CC
ΔE00 4.11
Blue With A Hint Of Purple
#533CC6
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 4.50
Blue Violet
#5D06E9
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F27C2 #9AC227
analogous
#274CC2 #4F27C2 #9C27C2
triadic
#4F27C2 #C24F27 #27C24F
tetradic
#4F27C2 #C2274C #9AC227 #27C29C
square
#4F27C2 #C2274C #9AC227 #27C29C
split-complementary
#4F27C2 #C29C27 #4CC227
monochromatic
#25135C #3A1D8F #4F27C2 #704BDB #997EE5
Accessibility & contrast
On white
8.74
#4F27C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4F27C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F27C2
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F27C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F27C2 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#015675
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4f27c2; /* rgb */ color: rgb(79, 39, 194); /* oklch */ color: oklch(43.8% 0.219 284.6);
Tailwind
colors: {
custom: {
50: '#8e67d6',
500: '#4f27c2',
950: '#000000',
},
}SCSS
$custom: #4f27c2; $custom-light: #8e67d6; $custom-dark: #000000;
JSON
{
"hex": "#4f27c2",
"rgb": {
"r": 79,
"g": 39,
"b": 194
},
"hsl": {
"h": 255.484,
"s": 66.524,
"l": 45.686
},
"oklch": {
"l": 0.43764,
"c": 0.21903,
"h": 284.6
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#4F27C2
secondary
#B7CE77
accent
#E93EBD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83