#663BAC#663BAC
#663BAC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.172 H 296.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #663BAC |
|---|---|
| RGB | rgb(102, 59, 172) |
| HSL | hsl(263, 49%, 45%) |
| HSV | hsv(263, 66%, 67%) |
| CMYK | cmyk(40.7%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(35.85, 43.59, -53.82) |
| CIE-LCH | lch(35.85, 69.26, 309.01°) |
| OKLab | oklab(46.59% 0.077 -0.1535) |
| OKLCH | oklch(46.59% 0.172 296.6) |
| XYZ | xyz(14.4879, 8.9310, 39.9823) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.04
Blue With A Hint Of Purple
#533CC6
ΔE00 5.20
Blurple
#5539CC
ΔE00 5.54
Purple Blue
#5D21D0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BAC #81AC3B
analogous
#3B48AC #663BAC #9F3BAC
triadic
#663BAC #AC663B #3BAC66
tetradic
#663BAC #AC3B48 #81AC3B #3BAC9F
square
#663BAC #AC3B48 #81AC3B #3BAC9F
split-complementary
#663BAC #AC9F3B #48AC3B
monochromatic
#301C51 #4B2B7E #663BAC #855DC7 #A88AD7
Accessibility & contrast
On white
7.54
#663BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#663BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BAC
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BAC | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#54556E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #663bac; /* rgb */ color: rgb(102, 59, 172); /* oklch */ color: oklch(46.6% 0.172 296.6);
Tailwind
colors: {
custom: {
50: '#9774c5',
500: '#663bac',
950: '#000000',
},
}SCSS
$custom: #663bac; $custom-light: #9774c5; $custom-dark: #000000;
JSON
{
"hex": "#663bac",
"rgb": {
"r": 102,
"g": 59,
"b": 172
},
"hsl": {
"h": 262.832,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.46591,
"c": 0.17174,
"h": 296.6
},
"luminance": 0.08931
}Semantic roles & 50–950 ramp
primary
#663BAC
secondary
#A9C181
accent
#D84FA4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82