#4F3CA2#4F3CA2
#4F3CA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.157 H 286.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F3CA2 |
|---|---|
| RGB | rgb(79, 60, 162) |
| HSL | hsl(251, 46%, 44%) |
| HSV | hsv(251, 63%, 64%) |
| CMYK | cmyk(51.2%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(32.92, 35.41, -52.69) |
| CIE-LCH | lch(32.92, 63.48, 303.91°) |
| OKLab | oklab(43.67% 0.0446 -0.1509) |
| OKLCH | oklch(43.67% 0.157 286.5) |
| XYZ | xyz(11.3600, 7.5021, 35.0249) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.28
Blueberry
#464196
ΔE00 3.31
Darkslateblue
#483D8B
ΔE00 4.13
Blue With A Hint Of Purple
#533CC6
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F3CA2 #8FA23C
analogous
#3C5CA2 #4F3CA2 #823CA2
triadic
#4F3CA2 #A24F3C #3CA24F
tetradic
#4F3CA2 #A23C5C #8FA23C #3CA282
square
#4F3CA2 #A23C5C #8FA23C #3CA282
split-complementary
#4F3CA2 #A2823C #5CA23C
monochromatic
#231B49 #392B75 #4F3CA2 #6D59C2 #9486D2
Accessibility & contrast
On white
8.40
#4F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#4F3CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F3CA2
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F3CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F3CA2 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#305469
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4f3ca2; /* rgb */ color: rgb(79, 60, 162); /* oklch */ color: oklch(43.7% 0.157 286.5);
Tailwind
colors: {
custom: {
50: '#8873be',
500: '#4f3ca2',
950: '#000000',
},
}SCSS
$custom: #4f3ca2; $custom-light: #8873be; $custom-dark: #000000;
JSON
{
"hex": "#4f3ca2",
"rgb": {
"r": 79,
"g": 60,
"b": 162
},
"hsl": {
"h": 251.176,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.4367,
"c": 0.1574,
"h": 286.5
},
"luminance": 0.07503
}Semantic roles & 50–950 ramp
primary
#4F3CA2
secondary
#B1BC7D
accent
#D652BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81