#4F328C#4F328C
#4F328C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.142 H 293.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F328C |
|---|---|
| RGB | rgb(79, 50, 140) |
| HSL | hsl(259, 47%, 37%) |
| HSV | hsv(259, 64%, 55%) |
| CMYK | cmyk(43.6%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(29.00, 34.76, -45.62) |
| CIE-LCH | lch(29.00, 57.36, 307.31°) |
| OKLab | oklab(40.28% 0.0576 -0.1302) |
| OKLCH | oklch(40.28% 0.142 293.9) |
| XYZ | xyz(9.0974, 5.8367, 25.4531) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.00
Rebeccapurple
#663399
ΔE00 4.59
Blueberry
#464196
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 7.66
Indigo Blue
#3A18B1
ΔE00 8.27
Indigo
#4B0082
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F328C #6F8C32
analogous
#32428C #4F328C #7C328C
triadic
#4F328C #8C4F32 #328C4F
tetradic
#4F328C #8C3242 #6F8C32 #328C7C
square
#4F328C #8C3242 #6F8C32 #328C7C
split-complementary
#4F328C #8C7C32 #428C32
monochromatic
#1C1232 #36225F #4F328C #6842B9 #8C6DCB
Accessibility & contrast
On white
9.69
#4F328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4F328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F328C
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F328C | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#3E475A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f328c; /* rgb */ color: rgb(79, 50, 140); /* oklch */ color: oklch(40.3% 0.142 293.9);
Tailwind
colors: {
custom: {
50: '#856bae',
500: '#4f328c',
950: '#000000',
},
}SCSS
$custom: #4f328c; $custom-light: #856bae; $custom-dark: #000000;
JSON
{
"hex": "#4f328c",
"rgb": {
"r": 79,
"g": 50,
"b": 140
},
"hsl": {
"h": 259.333,
"s": 47.368,
"l": 37.255
},
"oklch": {
"l": 0.4028,
"c": 0.14237,
"h": 293.9
},
"luminance": 0.05837
}Semantic roles & 50–950 ramp
primary
#4F328C
secondary
#9AB367
accent
#D751AC
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F