#4F27B6#4F27B6
#4F27B6 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.206 H 286.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4F27B6 |
|---|---|
| RGB | rgb(79, 39, 182) |
| HSL | hsl(257, 65%, 43%) |
| HSV | hsv(257, 79%, 71%) |
| CMYK | cmyk(56.6%, 78.6%, 0%, 28.6%) |
| CIE-LAB | lab(30.62, 52.59, -68.43) |
| CIE-LCH | lch(30.62, 86.31, 307.54°) |
| OKLab | oklab(42.56% 0.059 -0.197) |
| OKLCH | oklch(42.56% 0.206 286.7) |
| XYZ | xyz(12.3909, 6.4900, 44.8467) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 3.64
Indigo Blue
#3A18B1
ΔE00 3.76
Purple Blue
#5D21D0
ΔE00 3.86
Blurple
#5539CC
ΔE00 5.09
Blue With A Hint Of Purple
#533CC6
ΔE00 5.20
True Blue
#010FCC
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F27B6 #8EB627
analogous
#2746B6 #4F27B6 #9627B6
triadic
#4F27B6 #B64F27 #27B64F
tetradic
#4F27B6 #B62746 #8EB627 #27B696
square
#4F27B6 #B62746 #8EB627 #27B696
split-complementary
#4F27B6 #B69627 #46B627
monochromatic
#231151 #391C84 #4F27B6 #6D43D7 #9476E2
Accessibility & contrast
On white
9.14
#4F27B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4F27B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F27B6
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F27B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F27B6 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#1E516E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4f27b6; /* rgb */ color: rgb(79, 39, 182); /* oklch */ color: oklch(42.6% 0.206 286.7);
Tailwind
colors: {
custom: {
50: '#8c67cd',
500: '#4f27b6',
950: '#000000',
},
}SCSS
$custom: #4f27b6; $custom-light: #8c67cd; $custom-dark: #000000;
JSON
{
"hex": "#4f27b6",
"rgb": {
"r": 79,
"g": 39,
"b": 182
},
"hsl": {
"h": 256.783,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.42564,
"c": 0.20569,
"h": 286.7
},
"luminance": 0.06491
}Semantic roles & 50–950 ramp
primary
#4F27B6
secondary
#B0C970
accent
#E840B9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82