#4A2FD2#4A2FD2
#4A2FD2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.231 H 279.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2FD2 |
|---|---|
| RGB | rgb(74, 47, 210) |
| HSL | hsl(250, 64%, 50%) |
| HSV | hsv(250, 78%, 82%) |
| CMYK | cmyk(64.8%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(34.27, 56.29, -78.84) |
| CIE-LCH | lch(34.27, 96.87, 305.53°) |
| OKLab | oklab(45.84% 0.0389 -0.2276) |
| OKLCH | oklch(45.84% 0.231 279.7) |
| XYZ | xyz(15.4697, 8.1408, 61.7164) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 2.43
Blue With A Hint Of Purple
#533CC6
ΔE00 3.11
Purple Blue
#5D21D0
ΔE00 3.11
Purpley Blue
#5F34E7
ΔE00 4.25
Blue Violet
#5D06E9
ΔE00 4.72
Burple
#6832E3
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2FD2 #B7D22F
analogous
#2F65D2 #4A2FD2 #9C2FD2
triadic
#4A2FD2 #D24A2F #2FD24A
tetradic
#4A2FD2 #D22F65 #B7D22F #2FD29C
square
#4A2FD2 #D22F65 #B7D22F #2FD29C
split-complementary
#4A2FD2 #D29C2F #65D22F
monochromatic
#26186F #3823A1 #4A2FD2 #7661DD #A294E8
Accessibility & contrast
On white
7.99
#4A2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4A2FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2FD2
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2FD2 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D7
Deuteranopia (green-blind)
#004ACF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4a2fd2; /* rgb */ color: rgb(74, 47, 210); /* oklch */ color: oklch(45.8% 0.231 279.7);
Tailwind
colors: {
custom: {
50: '#8e6ce1',
500: '#4a2fd2',
950: '#000000',
},
}SCSS
$custom: #4a2fd2; $custom-light: #8e6ce1; $custom-dark: #000000;
JSON
{
"hex": "#4a2fd2",
"rgb": {
"r": 74,
"g": 47,
"b": 210
},
"hsl": {
"h": 249.939,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.45844,
"c": 0.23092,
"h": 279.7
},
"luminance": 0.08142
}Semantic roles & 50–950 ramp
primary
#4A2FD2
secondary
#C7D38A
accent
#E740CC
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84