#4F2F92#4F2F92
#4F2F92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.154 H 293.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2F92 |
|---|---|
| RGB | rgb(79, 47, 146) |
| HSL | hsl(259, 51%, 38%) |
| HSV | hsv(259, 68%, 57%) |
| CMYK | cmyk(45.9%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(28.83, 38.24, -49.60) |
| CIE-LCH | lch(28.83, 62.63, 307.63°) |
| OKLab | oklab(40.3% 0.0604 -0.1419) |
| OKLCH | oklch(40.3% 0.154 293) |
| XYZ | xyz(9.4278, 5.7703, 27.8056) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.92
Blueberry
#464196
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.96
Ocean Blue
#4F42B5
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2F92 #72922F
analogous
#2F4092 #4F2F92 #802F92
triadic
#4F2F92 #924F2F #2F924F
tetradic
#4F2F92 #922F40 #72922F #2F9280
square
#4F2F92 #922F40 #72922F #2F9280
split-complementary
#4F2F92 #92802F #40922F
monochromatic
#1D1135 #362064 #4F2F92 #683EC0 #8C6CD0
Accessibility & contrast
On white
9.75
#4F2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4F2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2F92
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2F92 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3C475C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f2f92; /* rgb */ color: rgb(79, 47, 146); /* oklch */ color: oklch(40.3% 0.154 293.0);
Tailwind
colors: {
custom: {
50: '#866ab3',
500: '#4f2f92',
950: '#000000',
},
}SCSS
$custom: #4f2f92; $custom-light: #866ab3; $custom-dark: #000000;
JSON
{
"hex": "#4f2f92",
"rgb": {
"r": 79,
"g": 47,
"b": 146
},
"hsl": {
"h": 259.394,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40304,
"c": 0.15419,
"h": 293
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#4F2F92
secondary
#9DB766
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80