#4F328B#4F328B
#4F328B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.141 H 294.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4F328B |
|---|---|
| RGB | rgb(79, 50, 139) |
| HSL | hsl(260, 47%, 37%) |
| HSV | hsv(260, 64%, 55%) |
| CMYK | cmyk(43.2%, 64%, 0%, 45.5%) |
| CIE-LAB | lab(28.92, 34.47, -45.13) |
| CIE-LCH | lch(28.92, 56.79, 307.38°) |
| OKLab | oklab(40.2% 0.0577 -0.1287) |
| OKLCH | oklch(40.2% 0.141 294.1) |
| XYZ | xyz(9.0240, 5.8073, 25.0666) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.99
Rebeccapurple
#663399
ΔE00 4.64
Blueberry
#464196
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 7.81
Indigo Blue
#3A18B1
ΔE00 8.41
Indigo
#4B0082
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F328B #6E8B32
analogous
#32418B #4F328B #7C328B
triadic
#4F328B #8B4F32 #328B4F
tetradic
#4F328B #8B3241 #6E8B32 #328B7C
square
#4F328B #8B3241 #6E8B32 #328B7C
split-complementary
#4F328B #8B7C32 #418B32
monochromatic
#1C1231 #35225E #4F328B #6942B8 #8B6DCA
Accessibility & contrast
On white
9.72
#4F328B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#4F328B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F328B
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F328B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F328B | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#3F4659
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f328b; /* rgb */ color: rgb(79, 50, 139); /* oklch */ color: oklch(40.2% 0.141 294.1);
Tailwind
colors: {
custom: {
50: '#856bae',
500: '#4f328b',
950: '#000000',
},
}SCSS
$custom: #4f328b; $custom-light: #856bae; $custom-dark: #000000;
JSON
{
"hex": "#4f328b",
"rgb": {
"r": 79,
"g": 50,
"b": 139
},
"hsl": {
"h": 259.551,
"s": 47.09,
"l": 37.059
},
"oklch": {
"l": 0.40201,
"c": 0.14106,
"h": 294.1
},
"luminance": 0.05808
}Semantic roles & 50–950 ramp
primary
#4F328B
secondary
#9AB267
accent
#D751AB
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F