#4F1E9F#4F1E9F
#4F1E9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.188 H 292.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1E9F |
|---|---|
| RGB | rgb(79, 30, 159) |
| HSL | hsl(263, 68%, 37%) |
| HSV | hsv(263, 81%, 62%) |
| CMYK | cmyk(50.3%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(27.00, 50.26, -60.55) |
| CIE-LCH | lch(27.00, 78.69, 309.70°) |
| OKLab | oklab(39.37% 0.0725 -0.1739) |
| OKLCH | oklch(39.37% 0.188 292.6) |
| XYZ | xyz(9.9450, 5.0937, 33.2533) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.82
Violet Blue
#510AC9
ΔE00 5.56
Indigo
#4B0082
ΔE00 5.82
Rebeccapurple
#663399
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.35
Indigo (survey)
#380282
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1E9F #6E9F1E
analogous
#1E2D9F #4F1E9F #901E9F
triadic
#4F1E9F #9F4F1E #1E9F4F
tetradic
#4F1E9F #9F1E2D #6E9F1E #1E9F90
square
#4F1E9F #9F1E2D #6E9F1E #1E9F90
split-complementary
#4F1E9F #9F901E #2D9F1E
monochromatic
#1C0B38 #35146C #4F1E9F #6928D2 #8B58DF
Accessibility & contrast
On white
10.40
#4F1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4F1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1E9F
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1E9F | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#35445F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f1e9f; /* rgb */ color: rgb(79, 30, 159); /* oklch */ color: oklch(39.4% 0.188 292.6);
Tailwind
colors: {
custom: {
50: '#8961bd',
500: '#4f1e9f',
950: '#000000',
},
}SCSS
$custom: #4f1e9f; $custom-light: #8961bd; $custom-dark: #000000;
JSON
{
"hex": "#4f1e9f",
"rgb": {
"r": 79,
"g": 30,
"b": 159
},
"hsl": {
"h": 262.791,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.3937,
"c": 0.18841,
"h": 292.6
},
"luminance": 0.05094
}Semantic roles & 50–950 ramp
primary
#4F1E9F
secondary
#9AC356
accent
#EB3DA9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81