#4F2C9F#4F2C9F
#4F2C9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.174 H 290.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2C9F |
|---|---|
| RGB | rgb(79, 44, 159) |
| HSL | hsl(258, 57%, 40%) |
| HSV | hsv(258, 72%, 62%) |
| CMYK | cmyk(50.3%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(29.33, 43.63, -56.73) |
| CIE-LCH | lch(29.33, 71.57, 307.56°) |
| OKLab | oklab(41% 0.0611 -0.1628) |
| OKLCH | oklch(41% 0.174 290.6) |
| XYZ | xyz(10.3814, 5.9664, 33.3988) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.92
Indigo Blue
#3A18B1
ΔE00 5.10
Darkslateblue
#483D8B
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.46
Violet Blue
#510AC9
ΔE00 6.61
Blueberry
#464196
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2C9F #7C9F2C
analogous
#2C439F #4F2C9F #892C9F
triadic
#4F2C9F #9F4F2C #2C9F4F
tetradic
#4F2C9F #9F2C43 #7C9F2C #2C9F89
square
#4F2C9F #9F2C43 #7C9F2C #2C9F89
split-complementary
#4F2C9F #9F892C #439F2C
monochromatic
#1F113F #371F6F #4F2C9F #693ECA #8E6ED7
Accessibility & contrast
On white
9.57
#4F2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4F2C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2C9F
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2C9F | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#344A62
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4f2c9f; /* rgb */ color: rgb(79, 44, 159); /* oklch */ color: oklch(41.0% 0.174 290.6);
Tailwind
colors: {
custom: {
50: '#8868bc',
500: '#4f2c9f',
950: '#000000',
},
}SCSS
$custom: #4f2c9f; $custom-light: #8868bc; $custom-dark: #000000;
JSON
{
"hex": "#4f2c9f",
"rgb": {
"r": 79,
"g": 44,
"b": 159
},
"hsl": {
"h": 258.261,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.41003,
"c": 0.1739,
"h": 290.6
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#4F2C9F
secondary
#A4BE69
accent
#E048B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81