#663EA1#663EA1
#663EA1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.154 H 298.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #663EA1 |
|---|---|
| RGB | rgb(102, 62, 161) |
| HSL | hsl(264, 44%, 44%) |
| HSV | hsv(264, 61%, 63%) |
| CMYK | cmyk(36.6%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(35.68, 38.97, -47.51) |
| CIE-LCH | lch(35.68, 61.45, 309.36°) |
| OKLab | oklab(46.22% 0.0743 -0.1349) |
| OKLCH | oklch(46.22% 0.154 298.8) |
| XYZ | xyz(13.6335, 8.8431, 34.6999) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.97
Ocean Blue
#4F42B5
ΔE00 5.96
Bluey Purple
#6241C7
ΔE00 6.14
Royal Purple
#7851A9
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.60
Blueberry
#464196
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EA1 #79A13E
analogous
#3E47A1 #663EA1 #973EA1
triadic
#663EA1 #A1663E #3EA166
tetradic
#663EA1 #A13E47 #79A13E #3EA197
square
#663EA1 #A13E47 #79A13E #3EA197
split-complementary
#663EA1 #A1973E #47A13E
monochromatic
#2E1C49 #4A2D75 #663EA1 #845CC0 #A688D1
Accessibility & contrast
On white
7.59
#663EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#663EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EA1
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EA1 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#595369
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #663ea1; /* rgb */ color: rgb(102, 62, 161); /* oklch */ color: oklch(46.2% 0.154 298.8);
Tailwind
colors: {
custom: {
50: '#9675bd',
500: '#663ea1',
950: '#000000',
},
}SCSS
$custom: #663ea1; $custom-light: #9675bd; $custom-dark: #000000;
JSON
{
"hex": "#663ea1",
"rgb": {
"r": 102,
"g": 62,
"b": 161
},
"hsl": {
"h": 264.242,
"s": 44.395,
"l": 43.725
},
"oklch": {
"l": 0.46218,
"c": 0.15407,
"h": 298.8
},
"luminance": 0.08843
}Semantic roles & 50–950 ramp
primary
#663EA1
secondary
#A3BC7F
accent
#D454A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81