#4F367F#4F367F
#4F367F is a dark, moderate violet. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 296.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F367F |
|---|---|
| RGB | rgb(79, 54, 127) |
| HSL | hsl(261, 40%, 35%) |
| HSV | hsv(261, 57%, 50%) |
| CMYK | cmyk(37.8%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(28.99, 28.57, -37.55) |
| CIE-LCH | lch(28.99, 47.18, 307.27°) |
| OKLab | oklab(39.98% 0.0529 -0.1064) |
| OKLCH | oklch(39.98% 0.119 296.4) |
| XYZ | xyz(8.3734, 5.8328, 20.7592) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.85
Rebeccapurple
#663399
ΔE00 6.07
Blueberry
#464196
ΔE00 6.08
Twilight
#4E518B
ΔE00 9.33
Ocean Blue
#4F42B5
ΔE00 9.52
Indigo
#4B0082
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F367F #667F36
analogous
#36417F #4F367F #73367F
triadic
#4F367F #7F4F36 #367F4F
tetradic
#4F367F #7F3641 #667F36 #367F73
square
#4F367F #7F3641 #667F36 #367F73
split-complementary
#4F367F #7F7336 #417F36
monochromatic
#1A1129 #342454 #4F367F #6A48AA #8B6EC1
Accessibility & contrast
On white
9.69
#4F367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4F367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F367F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F367F | 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)
#154581
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#444555
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f367f; /* rgb */ color: rgb(79, 54, 127); /* oklch */ color: oklch(40.0% 0.119 296.4);
Tailwind
colors: {
custom: {
50: '#836ea5',
500: '#4f367f',
950: '#000000',
},
}SCSS
$custom: #4f367f; $custom-light: #836ea5; $custom-dark: #000000;
JSON
{
"hex": "#4f367f",
"rgb": {
"r": 79,
"g": 54,
"b": 127
},
"hsl": {
"h": 260.548,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.39977,
"c": 0.11887,
"h": 296.4
},
"luminance": 0.05833
}Semantic roles & 50–950 ramp
primary
#4F367F
secondary
#93AA67
accent
#D058A7
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F