#4F1F9D#4F1F9D
#4F1F9D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.185 H 293.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1F9D |
|---|---|
| RGB | rgb(79, 31, 157) |
| HSL | hsl(263, 67%, 37%) |
| HSV | hsv(263, 80%, 62%) |
| CMYK | cmyk(49.7%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(26.95, 49.31, -59.41) |
| CIE-LCH | lch(26.95, 77.21, 309.70°) |
| OKLab | oklab(39.28% 0.0725 -0.1706) |
| OKLCH | oklch(39.28% 0.185 293) |
| XYZ | xyz(9.7985, 5.0762, 32.3553) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Indigo
#4B0082
ΔE00 5.71
Violet Blue
#510AC9
ΔE00 5.87
Rebeccapurple
#663399
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1F9D #6D9D1F
analogous
#1F2E9D #4F1F9D #8E1F9D
triadic
#4F1F9D #9D4F1F #1F9D4F
tetradic
#4F1F9D #9D1F2E #6D9D1F #1F9D8E
square
#4F1F9D #9D1F2E #6D9D1F #1F9D8E
split-complementary
#4F1F9D #9D8E1F #2E9D1F
monochromatic
#1C0B37 #35156A #4F1F9D #6929D0 #8B58DE
Accessibility & contrast
On white
10.42
#4F1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4F1F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1F9D
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1F9D | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#36435E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f1f9d; /* rgb */ color: rgb(79, 31, 157); /* oklch */ color: oklch(39.3% 0.185 293.0);
Tailwind
colors: {
custom: {
50: '#8961bb',
500: '#4f1f9d',
950: '#000000',
},
}SCSS
$custom: #4f1f9d; $custom-light: #8961bb; $custom-dark: #000000;
JSON
{
"hex": "#4f1f9d",
"rgb": {
"r": 79,
"g": 31,
"b": 157
},
"hsl": {
"h": 262.857,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.39277,
"c": 0.18531,
"h": 293
},
"luminance": 0.05077
}Semantic roles & 50–950 ramp
primary
#4F1F9D
secondary
#99C256
accent
#EA3EA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0512
muted
#7D7A81