#673AB6#673AB6
#673AB6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.185 H 295.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #673AB6 |
|---|---|
| RGB | rgb(103, 58, 182) |
| HSL | hsl(262, 52%, 47%) |
| HSV | hsv(262, 68%, 71%) |
| CMYK | cmyk(43.4%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(36.53, 47.03, -58.65) |
| CIE-LCH | lch(36.53, 75.17, 308.72°) |
| OKLab | oklab(47.35% 0.0782 -0.1677) |
| OKLCH | oklch(47.35% 0.185 295) |
| XYZ | xyz(15.5478, 9.2867, 45.2202) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.27
Blue With A Hint Of Purple
#533CC6
ΔE00 4.14
Blurple
#5539CC
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 4.80
Rebeccapurple
#663399
ΔE00 4.96
Purple Blue
#5D21D0
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#673AB6 #89B63A
analogous
#3A4BB6 #673AB6 #A53AB6
triadic
#673AB6 #B6673A #3AB667
tetradic
#673AB6 #B63A4B #89B63A #3AB6A5
square
#673AB6 #B63A4B #89B63A #3AB6A5
split-complementary
#673AB6 #B6A53A #4BB63A
monochromatic
#321C59 #4D2B88 #673AB6 #8861CD #AB8FDB
Accessibility & contrast
On white
7.35
#673AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#673AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #673AB6
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##673AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##673AB6 | 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)
#0057BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#525873
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #673ab6; /* rgb */ color: rgb(103, 58, 182); /* oklch */ color: oklch(47.3% 0.185 295.0);
Tailwind
colors: {
custom: {
50: '#9973cd',
500: '#673ab6',
950: '#000000',
},
}SCSS
$custom: #673ab6; $custom-light: #9973cd; $custom-dark: #000000;
JSON
{
"hex": "#673ab6",
"rgb": {
"r": 103,
"g": 58,
"b": 182
},
"hsl": {
"h": 261.774,
"s": 51.667,
"l": 47.059
},
"oklch": {
"l": 0.47345,
"c": 0.185,
"h": 295
},
"luminance": 0.09287
}Semantic roles & 50–950 ramp
primary
#673AB6
secondary
#AFC686
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82