#4F209C#4F209C
#4F209C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.183 H 293.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F209C |
|---|---|
| RGB | rgb(79, 32, 156) |
| HSL | hsl(263, 66%, 37%) |
| HSV | hsv(263, 79%, 61%) |
| CMYK | cmyk(49.4%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(27.00, 48.61, -58.71) |
| CIE-LCH | lch(27.00, 76.22, 309.63°) |
| OKLab | oklab(39.28% 0.072 -0.1685) |
| OKLCH | oklch(39.28% 0.183 293.1) |
| XYZ | xyz(9.7400, 5.0953, 31.9163) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Indigo
#4B0082
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 5.89
Violet Blue
#510AC9
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F209C #6D9C20
analogous
#202F9C #4F209C #8D209C
triadic
#4F209C #9C4F20 #209C4F
tetradic
#4F209C #9C202F #6D9C20 #209C8D
square
#4F209C #9C202F #6D9C20 #209C8D
split-complementary
#4F209C #9C8D20 #2F9C20
monochromatic
#1C0B36 #351669 #4F209C #692ACF #8B59DD
Accessibility & contrast
On white
10.40
#4F209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4F209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F209C
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F209C | 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)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#37435E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f209c; /* rgb */ color: rgb(79, 32, 156); /* oklch */ color: oklch(39.3% 0.183 293.1);
Tailwind
colors: {
custom: {
50: '#8962ba',
500: '#4f209c',
950: '#000000',
},
}SCSS
$custom: #4f209c; $custom-light: #8962ba; $custom-dark: #000000;
JSON
{
"hex": "#4f209c",
"rgb": {
"r": 79,
"g": 32,
"b": 156
},
"hsl": {
"h": 262.742,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.39285,
"c": 0.18328,
"h": 293.1
},
"luminance": 0.05096
}Semantic roles & 50–950 ramp
primary
#4F209C
secondary
#99C157
accent
#E93FA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81