#673AB9#673AB9
#673AB9 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.189 H 294.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #673AB9 |
|---|---|
| RGB | rgb(103, 58, 185) |
| HSL | hsl(261, 52%, 48%) |
| HSV | hsv(261, 69%, 73%) |
| CMYK | cmyk(44.3%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(36.77, 47.84, -60.04) |
| CIE-LCH | lch(36.77, 76.76, 308.55°) |
| OKLab | oklab(47.59% 0.0777 -0.1717) |
| OKLCH | oklch(47.59% 0.189 294.3) |
| XYZ | xyz(15.8612, 9.4120, 46.8705) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.91
Blue With A Hint Of Purple
#533CC6
ΔE00 3.85
Blurple
#5539CC
ΔE00 3.94
Ocean Blue
#4F42B5
ΔE00 4.75
Purple Blue
#5D21D0
ΔE00 5.29
Rebeccapurple
#663399
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#673AB9 #8CB93A
analogous
#3A4CB9 #673AB9 #A63AB9
triadic
#673AB9 #B9673A #3AB967
tetradic
#673AB9 #B93A4C #8CB93A #3AB9A6
square
#673AB9 #B93A4C #8CB93A #3AB9A6
split-complementary
#673AB9 #B9A63A #4CB93A
monochromatic
#331D5C #4D2B8A #673AB9 #8862CE #AC91DC
Accessibility & contrast
On white
7.29
#673AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#673AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #673AB9
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##673AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##673AB9 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#505975
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #673ab9; /* rgb */ color: rgb(103, 58, 185); /* oklch */ color: oklch(47.6% 0.189 294.3);
Tailwind
colors: {
custom: {
50: '#9973cf',
500: '#673ab9',
950: '#000000',
},
}SCSS
$custom: #673ab9; $custom-light: #9973cf; $custom-dark: #000000;
JSON
{
"hex": "#673ab9",
"rgb": {
"r": 103,
"g": 58,
"b": 185
},
"hsl": {
"h": 261.26,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.47587,
"c": 0.18851,
"h": 294.3
},
"luminance": 0.09412
}Semantic roles & 50–950 ramp
primary
#673AB9
secondary
#B1C787
accent
#DC4CA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82