#663BB5#663BB5
#663BB5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.182 H 294.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #663BB5 |
|---|---|
| RGB | rgb(102, 59, 181) |
| HSL | hsl(261, 51%, 47%) |
| HSV | hsv(261, 67%, 71%) |
| CMYK | cmyk(43.6%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(36.53, 46.03, -58.06) |
| CIE-LCH | lch(36.53, 74.09, 308.41°) |
| OKLab | oklab(47.3% 0.0759 -0.166) |
| OKLCH | oklch(47.3% 0.182 294.6) |
| XYZ | xyz(15.3817, 9.2885, 44.6895) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.22
Blue With A Hint Of Purple
#533CC6
ΔE00 4.07
Blurple
#5539CC
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 4.56
Rebeccapurple
#663399
ΔE00 4.94
Purple Blue
#5D21D0
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BB5 #8AB53B
analogous
#3B4DB5 #663BB5 #A33BB5
triadic
#663BB5 #B5663B #3BB566
tetradic
#663BB5 #B53B4D #8AB53B #3BB5A3
square
#663BB5 #B53B4D #8AB53B #3BB5A3
split-complementary
#663BB5 #B5A33B #4DB53B
monochromatic
#321D59 #4C2C87 #663BB5 #8762CC #AA90DB
Accessibility & contrast
On white
7.35
#663BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#663BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BB5
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BB5 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#505873
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #663bb5; /* rgb */ color: rgb(102, 59, 181); /* oklch */ color: oklch(47.3% 0.182 294.6);
Tailwind
colors: {
custom: {
50: '#9874cc',
500: '#663bb5',
950: '#000000',
},
}SCSS
$custom: #663bb5; $custom-light: #9874cc; $custom-dark: #000000;
JSON
{
"hex": "#663bb5",
"rgb": {
"r": 102,
"g": 59,
"b": 181
},
"hsl": {
"h": 261.148,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.47297,
"c": 0.18248,
"h": 294.6
},
"luminance": 0.09289
}Semantic roles & 50–950 ramp
primary
#663BB5
secondary
#AFC686
accent
#DA4DA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82