#673AB3#673AB3
#673AB3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.181 H 295.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #673AB3 |
|---|---|
| RGB | rgb(103, 58, 179) |
| HSL | hsl(262, 51%, 46%) |
| HSV | hsv(262, 68%, 70%) |
| CMYK | cmyk(42.5%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(36.30, 46.22, -57.25) |
| CIE-LCH | lch(36.30, 73.58, 308.91°) |
| OKLab | oklab(47.11% 0.0786 -0.1635) |
| OKLCH | oklch(47.11% 0.181 295.7) |
| XYZ | xyz(15.2411, 9.1640, 43.6049) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Blue With A Hint Of Purple
#533CC6
ΔE00 4.47
Rebeccapurple
#663399
ΔE00 4.52
Blurple
#5539CC
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.90
Purple Blue
#5D21D0
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#673AB3 #86B33A
analogous
#3A4AB3 #673AB3 #A43AB3
triadic
#673AB3 #B3673A #3AB367
tetradic
#673AB3 #B33A4A #86B33A #3AB3A4
square
#673AB3 #B33A4A #86B33A #3AB3A4
split-complementary
#673AB3 #B3A43A #4AB33A
monochromatic
#321C57 #4C2B85 #673AB3 #875FCB #AA8DDA
Accessibility & contrast
On white
7.41
#673AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#673AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #673AB3
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##673AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##673AB3 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#535772
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #673ab3; /* rgb */ color: rgb(103, 58, 179); /* oklch */ color: oklch(47.1% 0.181 295.7);
Tailwind
colors: {
custom: {
50: '#9873cb',
500: '#673ab3',
950: '#000000',
},
}SCSS
$custom: #673ab3; $custom-light: #9873cb; $custom-dark: #000000;
JSON
{
"hex": "#673ab3",
"rgb": {
"r": 103,
"g": 58,
"b": 179
},
"hsl": {
"h": 262.314,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.47105,
"c": 0.18147,
"h": 295.7
},
"luminance": 0.09164
}Semantic roles & 50–950 ramp
primary
#673AB3
secondary
#ADC584
accent
#DB4DA6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82