#663DAF#663DAF
#663DAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.173 H 295.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #663DAF |
|---|---|
| RGB | rgb(102, 61, 175) |
| HSL | hsl(262, 48%, 46%) |
| HSV | hsv(262, 65%, 69%) |
| CMYK | cmyk(41.7%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.47, 43.32, -54.59) |
| CIE-LCH | lch(36.47, 69.69, 308.43°) |
| OKLab | oklab(47.11% 0.0745 -0.1558) |
| OKLCH | oklch(47.11% 0.173 295.5) |
| XYZ | xyz(14.8841, 9.2571, 41.5517) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.90
Rebeccapurple
#663399
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
Blurple
#5539CC
ΔE00 5.16
Purple Blue
#5D21D0
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663DAF #86AF3D
analogous
#3D4DAF #663DAF #9F3DAF
triadic
#663DAF #AF663D #3DAF66
tetradic
#663DAF #AF3D4D #86AF3D #3DAF9F
square
#663DAF #AF3D4D #86AF3D #3DAF9F
split-complementary
#663DAF #AF9F3D #4DAF3D
monochromatic
#311D54 #4C2D82 #663DAF #8661C8 #A98FD8
Accessibility & contrast
On white
7.36
#663DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#663DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663DAF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663DAF | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#535770
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #663daf; /* rgb */ color: rgb(102, 61, 175); /* oklch */ color: oklch(47.1% 0.173 295.5);
Tailwind
colors: {
custom: {
50: '#9775c8',
500: '#663daf',
950: '#000000',
},
}SCSS
$custom: #663daf; $custom-light: #9775c8; $custom-dark: #000000;
JSON
{
"hex": "#663daf",
"rgb": {
"r": 102,
"g": 61,
"b": 175
},
"hsl": {
"h": 261.579,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.47112,
"c": 0.17267,
"h": 295.5
},
"luminance": 0.09257
}Semantic roles & 50–950 ramp
primary
#663DAF
secondary
#ADC385
accent
#D850A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82