#662FBF#662FBF
#662FBF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.208 H 294.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #662FBF |
|---|---|
| RGB | rgb(102, 47, 191) |
| HSL | hsl(263, 61%, 47%) |
| HSV | hsv(263, 75%, 75%) |
| CMYK | cmyk(46.6%, 75.4%, 0%, 25.1%) |
| CIE-LAB | lab(35.24, 54.62, -66.06) |
| CIE-LCH | lch(35.24, 85.72, 309.58°) |
| OKLab | oklab(46.63% 0.0851 -0.1894) |
| OKLCH | oklch(46.63% 0.208 294.2) |
| XYZ | xyz(15.8974, 8.6189, 50.1061) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.18
Blurple
#5539CC
ΔE00 3.84
Bluey Purple
#6241C7
ΔE00 4.19
Blue With A Hint Of Purple
#533CC6
ΔE00 4.22
Burple
#6832E3
ΔE00 4.90
Purpley Blue
#5F34E7
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662FBF #88BF2F
analogous
#2F40BF #662FBF #AE2FBF
triadic
#662FBF #BF662F #2FBF66
tetradic
#662FBF #BF2F40 #88BF2F #2FBFAE
square
#662FBF #BF2F40 #88BF2F #2FBFAE
split-complementary
#662FBF #BFAE2F #40BF2F
monochromatic
#32175D #4C238E #662FBF #8756D5 #AA87E1
Accessibility & contrast
On white
7.71
#662FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#662FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662FBF
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662FBF | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#4C5675
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #662fbf; /* rgb */ color: rgb(102, 47, 191); /* oklch */ color: oklch(46.6% 0.208 294.2);
Tailwind
colors: {
custom: {
50: '#9a6dd3',
500: '#662fbf',
950: '#000000',
},
}SCSS
$custom: #662fbf; $custom-light: #9a6dd3; $custom-dark: #000000;
JSON
{
"hex": "#662fbf",
"rgb": {
"r": 102,
"g": 47,
"b": 191
},
"hsl": {
"h": 262.917,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.46634,
"c": 0.20766,
"h": 294.2
},
"luminance": 0.08619
}Semantic roles & 50–950 ramp
primary
#662FBF
secondary
#AECB7F
accent
#E444A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83