#4F28B9#4F28B9
#4F28B9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.208 H 286.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4F28B9 |
|---|---|
| RGB | rgb(79, 40, 185) |
| HSL | hsl(256, 64%, 44%) |
| HSV | hsv(256, 78%, 73%) |
| CMYK | cmyk(57.3%, 78.4%, 0%, 27.5%) |
| CIE-LAB | lab(31.07, 52.98, -69.46) |
| CIE-LCH | lch(31.07, 87.36, 307.33°) |
| OKLab | oklab(42.97% 0.0575 -0.2001) |
| OKLCH | oklch(42.97% 0.208 286) |
| XYZ | xyz(12.7376, 6.6819, 46.5081) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.53
Violet Blue
#510AC9
ΔE00 3.59
Indigo Blue
#3A18B1
ΔE00 4.01
Blurple
#5539CC
ΔE00 4.67
Blue With A Hint Of Purple
#533CC6
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F28B9 #92B928
analogous
#284AB9 #4F28B9 #9828B9
triadic
#4F28B9 #B94F28 #28B94F
tetradic
#4F28B9 #B9284A #92B928 #28B998
square
#4F28B9 #B9284A #92B928 #28B998
split-complementary
#4F28B9 #B99828 #4AB928
monochromatic
#241254 #3A1D87 #4F28B9 #6E47D7 #9579E2
Accessibility & contrast
On white
8.99
#4F28B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#4F28B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F28B9
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F28B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F28B9 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#195270
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4f28b9; /* rgb */ color: rgb(79, 40, 185); /* oklch */ color: oklch(43.0% 0.208 286.0);
Tailwind
colors: {
custom: {
50: '#8d67cf',
500: '#4f28b9',
950: '#000000',
},
}SCSS
$custom: #4f28b9; $custom-light: #8d67cf; $custom-dark: #000000;
JSON
{
"hex": "#4f28b9",
"rgb": {
"r": 79,
"g": 40,
"b": 185
},
"hsl": {
"h": 256.138,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.4297,
"c": 0.20815,
"h": 286
},
"luminance": 0.06683
}Semantic roles & 50–950 ramp
primary
#4F28B9
secondary
#B3CA73
accent
#E740BA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82