#672A8D#672A8D
#672A8D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.160 H 309.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #672A8D |
|---|---|
| RGB | rgb(103, 42, 141) |
| HSL | hsl(277, 54%, 36%) |
| HSV | hsv(277, 70%, 55%) |
| CMYK | cmyk(27%, 70.2%, 0%, 44.7%) |
| CIE-LAB | lab(30.55, 44.68, -43.58) |
| CIE-LCH | lch(30.55, 62.42, 315.72°) |
| OKLab | oklab(42.1% 0.1013 -0.1233) |
| OKLCH | oklch(42.1% 0.16 309.4) |
| XYZ | xyz(11.2282, 6.4628, 25.8501) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.87
Purple (survey)
#7E1E9C
ΔE00 4.55
Darkish Purple
#751973
ΔE00 7.18
Purple
#800080
ΔE00 7.20
Darkmagenta
#8B008B
ΔE00 7.71
Indigo
#4B0082
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672A8D #508D2A
analogous
#362A8D #672A8D #8D2A81
triadic
#672A8D #8D672A #2A8D67
tetradic
#672A8D #8D362A #508D2A #2A818D
square
#672A8D #8D362A #508D2A #2A818D
split-complementary
#672A8D #818D2A #2A8D36
monochromatic
#220E2F #451C5E #672A8D #8938BC #A661D0
Accessibility & contrast
On white
9.16
#672A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#672A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672A8D
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672A8D | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#623F58
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #672a8d; /* rgb */ color: rgb(103, 42, 141); /* oklch */ color: oklch(42.1% 0.160 309.4);
Tailwind
colors: {
custom: {
50: '#9669af',
500: '#672a8d',
950: '#000000',
},
}SCSS
$custom: #672a8d; $custom-light: #9669af; $custom-dark: #000000;
JSON
{
"hex": "#672a8d",
"rgb": {
"r": 103,
"g": 42,
"b": 141
},
"hsl": {
"h": 276.97,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.42096,
"c": 0.15958,
"h": 309.4
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#672A8D
secondary
#7FB65D
accent
#DD4A83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F