#672A9C#672A9C
#672A9C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.176 H 304.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #672A9C |
|---|---|
| RGB | rgb(103, 42, 156) |
| HSL | hsl(272, 58%, 39%) |
| HSV | hsv(272, 73%, 61%) |
| CMYK | cmyk(34%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(31.67, 48.26, -50.96) |
| CIE-LCH | lch(31.67, 70.19, 313.44°) |
| OKLab | oklab(43.25% 0.0991 -0.145) |
| OKLCH | oklch(43.25% 0.176 304.3) |
| XYZ | xyz(12.4209, 6.9398, 32.1312) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.97
Purple (survey)
#7E1E9C
ΔE00 4.57
Purple Blue
#5D21D0
ΔE00 7.70
Violet Blue
#510AC9
ΔE00 8.09
Indigo
#4B0082
ΔE00 8.34
Indigo Blue
#3A18B1
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672A9C #5F9C2A
analogous
#2E2A9C #672A9C #9C2A98
triadic
#672A9C #9C672A #2A9C67
tetradic
#672A9C #9C2E2A #5F9C2A #2A989C
square
#672A9C #9C2E2A #5F9C2A #2A989C
split-complementary
#672A9C #989C2A #2A9C2E
monochromatic
#27103C #471D6C #672A9C #8739CA #A46AD7
Accessibility & contrast
On white
8.79
#672A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#672A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672A9C
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672A9C | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5D4560
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #672a9c; /* rgb */ color: rgb(103, 42, 156); /* oklch */ color: oklch(43.2% 0.176 304.3);
Tailwind
colors: {
custom: {
50: '#9769ba',
500: '#672a9c',
950: '#000000',
},
}SCSS
$custom: #672a9c; $custom-light: #9769ba; $custom-dark: #000000;
JSON
{
"hex": "#672a9c",
"rgb": {
"r": 103,
"g": 42,
"b": 156
},
"hsl": {
"h": 272.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.43246,
"c": 0.17561,
"h": 304.3
},
"luminance": 0.0694
}Semantic roles & 50–950 ramp
primary
#672A9C
secondary
#8EBD65
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81