#4A2FC7#4A2FC7
#4A2FC7 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.218 H 281.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2FC7 |
|---|---|
| RGB | rgb(74, 47, 199) |
| HSL | hsl(251, 62%, 48%) |
| HSV | hsv(251, 76%, 78%) |
| CMYK | cmyk(62.8%, 76.4%, 0%, 22%) |
| CIE-LAB | lab(33.16, 53.08, -74.28) |
| CIE-LCH | lch(33.16, 91.29, 305.55°) |
| OKLab | oklab(44.73% 0.0418 -0.2143) |
| OKLCH | oklch(44.73% 0.218 281) |
| XYZ | xyz(14.1461, 7.6113, 54.7454) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.73
Blue With A Hint Of Purple
#533CC6
ΔE00 3.05
Purple Blue
#5D21D0
ΔE00 3.30
Violet Blue
#510AC9
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2FC7 #ACC72F
analogous
#2F60C7 #4A2FC7 #962FC7
triadic
#4A2FC7 #C74A2F #2FC74A
tetradic
#4A2FC7 #C72F60 #ACC72F #2FC796
square
#4A2FC7 #C72F60 #ACC72F #2FC796
split-complementary
#4A2FC7 #C7962F #60C72F
monochromatic
#251864 #382395 #4A2FC7 #715BD8 #9C8CE4
Accessibility & contrast
On white
8.33
#4A2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#4A2FC7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2FC7
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2FC7 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4a2fc7; /* rgb */ color: rgb(74, 47, 199); /* oklch */ color: oklch(44.7% 0.218 281.0);
Tailwind
colors: {
custom: {
50: '#8c6cd9',
500: '#4a2fc7',
950: '#000000',
},
}SCSS
$custom: #4a2fc7; $custom-light: #8c6cd9; $custom-dark: #000000;
JSON
{
"hex": "#4a2fc7",
"rgb": {
"r": 74,
"g": 47,
"b": 199
},
"hsl": {
"h": 250.658,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.44734,
"c": 0.21836,
"h": 281
},
"luminance": 0.07612
}Semantic roles & 50–950 ramp
primary
#4A2FC7
secondary
#C1CE84
accent
#E543C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83