#673AB7#673AB7
#673AB7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.186 H 294.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #673AB7 |
|---|---|
| RGB | rgb(103, 58, 183) |
| HSL | hsl(262, 52%, 47%) |
| HSV | hsv(262, 68%, 72%) |
| CMYK | cmyk(43.7%, 68.3%, 0%, 28.2%) |
| CIE-LAB | lab(36.61, 47.30, -59.11) |
| CIE-LCH | lch(36.61, 75.70, 308.66°) |
| OKLab | oklab(47.43% 0.078 -0.169) |
| OKLCH | oklch(47.43% 0.186 294.8) |
| XYZ | xyz(15.6515, 9.3282, 45.7664) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.15
Blue With A Hint Of Purple
#533CC6
ΔE00 4.04
Blurple
#5539CC
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.78
Rebeccapurple
#663399
ΔE00 5.10
Purple Blue
#5D21D0
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#673AB7 #8AB73A
analogous
#3A4CB7 #673AB7 #A63AB7
triadic
#673AB7 #B7673A #3AB767
tetradic
#673AB7 #B73A4C #8AB73A #3AB7A6
square
#673AB7 #B73A4C #8AB73A #3AB7A6
split-complementary
#673AB7 #B7A63A #4CB73A
monochromatic
#331D5A #4D2B89 #673AB7 #8861CD #AB90DC
Accessibility & contrast
On white
7.33
#673AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#673AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #673AB7
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##673AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##673AB7 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#515874
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #673ab7; /* rgb */ color: rgb(103, 58, 183); /* oklch */ color: oklch(47.4% 0.186 294.8);
Tailwind
colors: {
custom: {
50: '#9973cd',
500: '#673ab7',
950: '#000000',
},
}SCSS
$custom: #673ab7; $custom-light: #9973cd; $custom-dark: #000000;
JSON
{
"hex": "#673ab7",
"rgb": {
"r": 103,
"g": 58,
"b": 183
},
"hsl": {
"h": 261.6,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.47425,
"c": 0.18618,
"h": 294.8
},
"luminance": 0.09329
}Semantic roles & 50–950 ramp
primary
#673AB7
secondary
#AFC786
accent
#DB4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82