#673A9C#673A9C
#673A9C is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.154 H 301.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #673A9C |
|---|---|
| RGB | rgb(103, 58, 156) |
| HSL | hsl(268, 46%, 42%) |
| HSV | hsv(268, 63%, 61%) |
| CMYK | cmyk(34%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(34.62, 40.12, -46.19) |
| CIE-LCH | lch(34.62, 61.18, 310.98°) |
| OKLab | oklab(45.36% 0.0809 -0.131) |
| OKLCH | oklch(45.36% 0.154 301.7) |
| XYZ | xyz(13.1059, 8.3099, 32.3596) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.72
Purple (survey)
#7E1E9C
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.86
Royal Purple
#7851A9
ΔE00 6.97
Ocean Blue
#4F42B5
ΔE00 7.04
Bluey Purple
#6241C7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#673A9C #6F9C3A
analogous
#3A3E9C #673A9C #983A9C
triadic
#673A9C #9C673A #3A9C67
tetradic
#673A9C #9C3A3E #6F9C3A #3A9C98
square
#673A9C #9C3A3E #6F9C3A #3A9C98
split-complementary
#673A9C #9C983A #3E9C3A
monochromatic
#2C1943 #4A296F #673A9C #8554BF #A580D0
Accessibility & contrast
On white
7.89
#673A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#673A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #673A9C
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##673A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##673A9C | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#5C4F65
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #673a9c; /* rgb */ color: rgb(103, 58, 156); /* oklch */ color: oklch(45.4% 0.154 301.7);
Tailwind
colors: {
custom: {
50: '#9673ba',
500: '#673a9c',
950: '#000000',
},
}SCSS
$custom: #673a9c; $custom-light: #9673ba; $custom-dark: #000000;
JSON
{
"hex": "#673a9c",
"rgb": {
"r": 103,
"g": 58,
"b": 156
},
"hsl": {
"h": 267.551,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.45364,
"c": 0.154,
"h": 301.7
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#673A9C
secondary
#9CBA78
accent
#D55299
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81