#4F219B#4F219B
#4F219B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.181 H 293.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F219B |
|---|---|
| RGB | rgb(79, 33, 155) |
| HSL | hsl(263, 65%, 37%) |
| HSV | hsv(263, 79%, 61%) |
| CMYK | cmyk(49%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(27.06, 47.90, -58.00) |
| CIE-LCH | lch(27.06, 75.23, 309.55°) |
| OKLab | oklab(39.3% 0.0716 -0.1665) |
| OKLCH | oklch(39.3% 0.181 293.3) |
| XYZ | xyz(9.6831, 5.1162, 31.4813) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.39
Rebeccapurple
#663399
ΔE00 5.75
Indigo
#4B0082
ΔE00 5.77
Violet Blue
#510AC9
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.55
Ultramarine
#2000B1
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F219B #6D9B21
analogous
#21309B #4F219B #8C219B
triadic
#4F219B #9B4F21 #219B4F
tetradic
#4F219B #9B2130 #6D9B21 #219B8C
square
#4F219B #9B2130 #6D9B21 #219B8C
split-complementary
#4F219B #9B8C21 #309B21
monochromatic
#1C0C36 #351669 #4F219B #692CCD #8B5ADC
Accessibility & contrast
On white
10.38
#4F219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4F219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F219B
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F219B | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#37435D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f219b; /* rgb */ color: rgb(79, 33, 155); /* oklch */ color: oklch(39.3% 0.181 293.3);
Tailwind
colors: {
custom: {
50: '#8962ba',
500: '#4f219b',
950: '#000000',
},
}SCSS
$custom: #4f219b; $custom-light: #8962ba; $custom-dark: #000000;
JSON
{
"hex": "#4f219b",
"rgb": {
"r": 79,
"g": 33,
"b": 155
},
"hsl": {
"h": 262.623,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39298,
"c": 0.18119,
"h": 293.3
},
"luminance": 0.05117
}Semantic roles & 50–950 ramp
primary
#4F219B
secondary
#99C058
accent
#E840A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81