#4F2CA6#4F2CA6
#4F2CA6 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.182 H 289.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2CA6 |
|---|---|
| RGB | rgb(79, 44, 166) |
| HSL | hsl(257, 58%, 41%) |
| HSV | hsv(257, 73%, 65%) |
| CMYK | cmyk(52.4%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(29.95, 45.64, -59.95) |
| CIE-LCH | lch(29.95, 75.34, 307.28°) |
| OKLab | oklab(41.64% 0.0595 -0.1722) |
| OKLCH | oklch(41.64% 0.182 289.1) |
| XYZ | xyz(11.0061, 6.2163, 36.6889) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Rebeccapurple
#663399
ΔE00 5.36
Violet Blue
#510AC9
ΔE00 5.79
Purple Blue
#5D21D0
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 5.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2CA6 #83A62C
analogous
#2C46A6 #4F2CA6 #8C2CA6
triadic
#4F2CA6 #A64F2C #2CA64F
tetradic
#4F2CA6 #A62C46 #83A62C #2CA68C
square
#4F2CA6 #A62C46 #83A62C #2CA68C
split-complementary
#4F2CA6 #A68C2C #46A62C
monochromatic
#211245 #381F76 #4F2CA6 #6A42CD #9073DA
Accessibility & contrast
On white
9.36
#4F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#4F2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2CA6
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2CA6 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#2F4D66
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4f2ca6; /* rgb */ color: rgb(79, 44, 166); /* oklch */ color: oklch(41.6% 0.182 289.1);
Tailwind
colors: {
custom: {
50: '#8969c1',
500: '#4f2ca6',
950: '#000000',
},
}SCSS
$custom: #4f2ca6; $custom-light: #8969c1; $custom-dark: #000000;
JSON
{
"hex": "#4f2ca6",
"rgb": {
"r": 79,
"g": 44,
"b": 166
},
"hsl": {
"h": 257.213,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.41638,
"c": 0.18224,
"h": 289.1
},
"luminance": 0.06217
}Semantic roles & 50–950 ramp
primary
#4F2CA6
secondary
#A9C16D
accent
#E146B5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0612
muted
#7D7A81