#4F2B90#4F2B90
#4F2B90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.157 H 294.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2B90 |
|---|---|
| RGB | rgb(79, 43, 144) |
| HSL | hsl(261, 54%, 37%) |
| HSV | hsv(261, 70%, 56%) |
| CMYK | cmyk(45.1%, 70.1%, 0%, 43.5%) |
| CIE-LAB | lab(27.85, 39.89, -49.95) |
| CIE-LCH | lch(27.85, 63.92, 308.61°) |
| OKLab | oklab(39.56% 0.065 -0.1429) |
| OKLCH | oklch(39.56% 0.157 294.4) |
| XYZ | xyz(9.1210, 5.4034, 26.9425) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.79
Indigo Blue
#3A18B1
ΔE00 6.67
Indigo
#4B0082
ΔE00 6.83
Blueberry
#464196
ΔE00 6.93
Indigo (survey)
#380282
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2B90 #6C902B
analogous
#2B3A90 #4F2B90 #822B90
triadic
#4F2B90 #904F2B #2B904F
tetradic
#4F2B90 #902B3A #6C902B #2B9082
square
#4F2B90 #902B3A #6C902B #2B9082
split-complementary
#4F2B90 #90822B #3A902B
monochromatic
#1B0F32 #351D61 #4F2B90 #6939BF #8B65D1
Accessibility & contrast
On white
10.09
#4F2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4F2B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2B90
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2B90 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#3D445A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4f2b90; /* rgb */ color: rgb(79, 43, 144); /* oklch */ color: oklch(39.6% 0.157 294.4);
Tailwind
colors: {
custom: {
50: '#8667b1',
500: '#4f2b90',
950: '#000000',
},
}SCSS
$custom: #4f2b90; $custom-light: #8667b1; $custom-dark: #000000;
JSON
{
"hex": "#4f2b90",
"rgb": {
"r": 79,
"g": 43,
"b": 144
},
"hsl": {
"h": 261.386,
"s": 54.011,
"l": 36.667
},
"oklch": {
"l": 0.39556,
"c": 0.15696,
"h": 294.4
},
"luminance": 0.05404
}Semantic roles & 50–950 ramp
primary
#4F2B90
secondary
#98B760
accent
#DD4AA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80