#4F2CA1#4F2CA1
#4F2CA1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.176 H 290.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2CA1 |
|---|---|
| RGB | rgb(79, 44, 161) |
| HSL | hsl(258, 57%, 40%) |
| HSV | hsv(258, 73%, 63%) |
| CMYK | cmyk(50.9%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(29.50, 44.20, -57.66) |
| CIE-LCH | lch(29.50, 72.65, 307.48°) |
| OKLab | oklab(41.18% 0.0607 -0.1655) |
| OKLCH | oklch(41.18% 0.176 290.1) |
| XYZ | xyz(10.5563, 6.0364, 34.3202) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Rebeccapurple
#663399
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 6.30
Violet Blue
#510AC9
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.52
Blue With A Hint Of Purple
#533CC6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2CA1 #7EA12C
analogous
#2C43A1 #4F2CA1 #8A2CA1
triadic
#4F2CA1 #A14F2C #2CA14F
tetradic
#4F2CA1 #A12C43 #7EA12C #2CA18A
square
#4F2CA1 #A12C43 #7EA12C #2CA18A
split-complementary
#4F2CA1 #A18A2C #43A12C
monochromatic
#201241 #371F71 #4F2CA1 #6940CB #8F70D8
Accessibility & contrast
On white
9.51
#4F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4F2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2CA1
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2CA1 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#334B63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4f2ca1; /* rgb */ color: rgb(79, 44, 161); /* oklch */ color: oklch(41.2% 0.176 290.1);
Tailwind
colors: {
custom: {
50: '#8968be',
500: '#4f2ca1',
950: '#000000',
},
}SCSS
$custom: #4f2ca1; $custom-light: #8968be; $custom-dark: #000000;
JSON
{
"hex": "#4f2ca1",
"rgb": {
"r": 79,
"g": 44,
"b": 161
},
"hsl": {
"h": 257.949,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.41183,
"c": 0.17629,
"h": 290.1
},
"luminance": 0.06037
}Semantic roles & 50–950 ramp
primary
#4F2CA1
secondary
#A6BF6A
accent
#E047B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81