#4F366F#4F366F
#4F366F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.9% C 0.097 H 302.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4F366F |
|---|---|
| RGB | rgb(79, 54, 111) |
| HSL | hsl(266, 35%, 32%) |
| HSV | hsv(266, 51%, 44%) |
| CMYK | cmyk(28.8%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(27.98, 24.07, -29.05) |
| CIE-LCH | lch(27.98, 37.73, 309.64°) |
| OKLab | oklab(38.9% 0.0517 -0.0816) |
| OKLCH | oklch(38.9% 0.097 302.4) |
| XYZ | xyz(7.4122, 5.4483, 15.6970) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.85
Rebeccapurple
#663399
ΔE00 8.75
Blueberry
#464196
ΔE00 9.09
Grape
#6C3461
ΔE00 9.89
Twilight
#4E518B
ΔE00 10.33
Darkish Purple
#751973
ΔE00 10.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F366F #566F36
analogous
#363A6F #4F366F #6C366F
triadic
#4F366F #6F4F36 #366F4F
tetradic
#4F366F #6F363A #566F36 #366F6C
square
#4F366F #6F363A #566F36 #366F6C
split-complementary
#4F366F #6F6C36 #3A6F36
monochromatic
#140E1D #322246 #4F366F #6C4A98 #8B69B6
Accessibility & contrast
On white
10.05
#4F366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4F366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F366F
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F366F | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#49404D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f366f; /* rgb */ color: rgb(79, 54, 111); /* oklch */ color: oklch(38.9% 0.097 302.4);
Tailwind
colors: {
custom: {
50: '#826d98',
500: '#4f366f',
950: '#000000',
},
}SCSS
$custom: #4f366f; $custom-light: #826d98; $custom-dark: #000000;
JSON
{
"hex": "#4f366f",
"rgb": {
"r": 79,
"g": 54,
"b": 111
},
"hsl": {
"h": 266.316,
"s": 34.545,
"l": 32.353
},
"oklch": {
"l": 0.389,
"c": 0.09658,
"h": 302.4
},
"luminance": 0.05448
}Semantic roles & 50–950 ramp
primary
#4F366F
secondary
#849F62
accent
#CB5D9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E