#672D96#672D96
#672D96 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.165 H 305.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #672D96 |
|---|---|
| RGB | rgb(103, 45, 150) |
| HSL | hsl(273, 54%, 38%) |
| HSV | hsv(273, 70%, 59%) |
| CMYK | cmyk(31.3%, 70%, 0%, 41.2%) |
| CIE-LAB | lab(31.72, 45.39, -47.22) |
| CIE-LCH | lch(31.72, 65.50, 313.86°) |
| OKLab | oklab(43.14% 0.0968 -0.134) |
| OKLCH | oklch(43.14% 0.165 305.8) |
| XYZ | xyz(12.0357, 6.9624, 29.5581) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.42
Purple (survey)
#7E1E9C
ΔE00 4.59
Darkslateblue
#483D8B
ΔE00 8.24
Purple
#800080
ΔE00 8.41
Darkmagenta
#8B008B
ΔE00 8.55
Indigo
#4B0082
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672D96 #5C962D
analogous
#322D96 #672D96 #962D90
triadic
#672D96 #96672D #2D9667
tetradic
#672D96 #96322D #5C962D #2D9096
square
#672D96 #96322D #5C962D #2D9096
split-complementary
#672D96 #90962D #2D9632
monochromatic
#261138 #471F67 #672D96 #873CC4 #A46BD3
Accessibility & contrast
On white
8.78
#672D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#672D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672D96
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672D96 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#5F455E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #672d96; /* rgb */ color: rgb(103, 45, 150); /* oklch */ color: oklch(43.1% 0.165 305.8);
Tailwind
colors: {
custom: {
50: '#976bb6',
500: '#672d96',
950: '#000000',
},
}SCSS
$custom: #672d96; $custom-light: #976bb6; $custom-dark: #000000;
JSON
{
"hex": "#672d96",
"rgb": {
"r": 103,
"g": 45,
"b": 150
},
"hsl": {
"h": 273.143,
"s": 53.846,
"l": 38.235
},
"oklch": {
"l": 0.43139,
"c": 0.16532,
"h": 305.8
},
"luminance": 0.06962
}Semantic roles & 50–950 ramp
primary
#672D96
secondary
#8BB965
accent
#DD4B8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80