#672A9D#672A9D
#672A9D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.177 H 304.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #672A9D |
|---|---|
| RGB | rgb(103, 42, 157) |
| HSL | hsl(272, 58%, 39%) |
| HSV | hsv(272, 73%, 62%) |
| CMYK | cmyk(34.4%, 73.2%, 0%, 38.4%) |
| CIE-LAB | lab(31.75, 48.50, -51.45) |
| CIE-LCH | lch(31.75, 70.71, 313.31°) |
| OKLab | oklab(43.33% 0.0989 -0.1464) |
| OKLCH | oklch(43.33% 0.177 304) |
| XYZ | xyz(12.5059, 6.9738, 32.5790) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.01
Purple (survey)
#7E1E9C
ΔE00 4.62
Purple Blue
#5D21D0
ΔE00 7.54
Violet Blue
#510AC9
ΔE00 7.95
Indigo Blue
#3A18B1
ΔE00 8.30
Indigo
#4B0082
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672A9D #609D2A
analogous
#2E2A9D #672A9D #9D2A9A
triadic
#672A9D #9D672A #2A9D67
tetradic
#672A9D #9D2E2A #609D2A #2A9A9D
square
#672A9D #9D2E2A #609D2A #2A9A9D
split-complementary
#672A9D #9A9D2A #2A9D2E
monochromatic
#28103C #471D6D #672A9D #863ACA #A46AD7
Accessibility & contrast
On white
8.77
#672A9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#672A9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672A9D
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672A9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672A9D | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#5C4661
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #672a9d; /* rgb */ color: rgb(103, 42, 157); /* oklch */ color: oklch(43.3% 0.177 304.0);
Tailwind
colors: {
custom: {
50: '#9769bb',
500: '#672a9d',
950: '#000000',
},
}SCSS
$custom: #672a9d; $custom-light: #9769bb; $custom-dark: #000000;
JSON
{
"hex": "#672a9d",
"rgb": {
"r": 103,
"g": 42,
"b": 157
},
"hsl": {
"h": 271.826,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.43325,
"c": 0.17668,
"h": 304
},
"luminance": 0.06974
}Semantic roles & 50–950 ramp
primary
#672A9D
secondary
#8FBE65
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81