#4F2B95#4F2B95
#4F2B95 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.163 H 293.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B95 |
|---|---|
| RGB | rgb(79, 43, 149) |
| HSL | hsl(260, 55%, 38%) |
| HSV | hsv(260, 71%, 58%) |
| CMYK | cmyk(47%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.27, 41.30, -52.35) |
| CIE-LCH | lch(28.27, 66.68, 308.27°) |
| OKLab | oklab(39.99% 0.0641 -0.1499) |
| OKLCH | oklch(39.99% 0.163 293.1) |
| XYZ | xyz(9.5116, 5.5596, 28.9999) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.01
Blueberry
#464196
ΔE00 6.83
Indigo
#4B0082
ΔE00 7.06
Ocean Blue
#4F42B5
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B95 #71952B
analogous
#2B3C95 #4F2B95 #842B95
triadic
#4F2B95 #954F2B #2B954F
tetradic
#4F2B95 #952B3C #71952B #2B9584
square
#4F2B95 #952B3C #71952B #2B9584
split-complementary
#4F2B95 #95842B #3C952B
monochromatic
#1D1036 #361D66 #4F2B95 #6839C4 #8C67D3
Accessibility & contrast
On white
9.94
#4F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4F2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B95
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B95 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#3A465D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f2b95; /* rgb */ color: rgb(79, 43, 149); /* oklch */ color: oklch(40.0% 0.163 293.1);
Tailwind
colors: {
custom: {
50: '#8767b5',
500: '#4f2b95',
950: '#000000',
},
}SCSS
$custom: #4f2b95; $custom-light: #8767b5; $custom-dark: #000000;
JSON
{
"hex": "#4f2b95",
"rgb": {
"r": 79,
"g": 43,
"b": 149
},
"hsl": {
"h": 260.377,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.39986,
"c": 0.16304,
"h": 293.1
},
"luminance": 0.0556
}Semantic roles & 50–950 ramp
primary
#4F2B95
secondary
#9CBA62
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80