#663AB3#663AB3
#663AB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.181 H 295.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #663AB3 |
|---|---|
| RGB | rgb(102, 58, 179) |
| HSL | hsl(262, 51%, 46%) |
| HSV | hsv(262, 68%, 70%) |
| CMYK | cmyk(43%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(36.19, 46.02, -57.44) |
| CIE-LCH | lch(36.19, 73.60, 308.70°) |
| OKLab | oklab(47% 0.0772 -0.1641) |
| OKLCH | oklch(47% 0.181 295.2) |
| XYZ | xyz(15.1271, 9.1052, 43.5996) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.33
Blurple
#5539CC
ΔE00 4.55
Rebeccapurple
#663399
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.74
Purple Blue
#5D21D0
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663AB3 #87B33A
analogous
#3A4BB3 #663AB3 #A33AB3
triadic
#663AB3 #B3663A #3AB366
tetradic
#663AB3 #B33A4B #87B33A #3AB3A3
square
#663AB3 #B33A4B #87B33A #3AB3A3
split-complementary
#663AB3 #B3A33A #4BB33A
monochromatic
#311C57 #4C2B85 #663AB3 #865FCB #A98DDA
Accessibility & contrast
On white
7.44
#663AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#663AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663AB3
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663AB3 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#515772
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #663ab3; /* rgb */ color: rgb(102, 58, 179); /* oklch */ color: oklch(47.0% 0.181 295.2);
Tailwind
colors: {
custom: {
50: '#9873cb',
500: '#663ab3',
950: '#000000',
},
}SCSS
$custom: #663ab3; $custom-light: #9873cb; $custom-dark: #000000;
JSON
{
"hex": "#663ab3",
"rgb": {
"r": 102,
"g": 58,
"b": 179
},
"hsl": {
"h": 261.818,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.46999,
"c": 0.18139,
"h": 295.2
},
"luminance": 0.09106
}Semantic roles & 50–950 ramp
primary
#663AB3
secondary
#ADC584
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82