#672A8F#672A8F
#672A8F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.162 H 308.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #672A8F |
|---|---|
| RGB | rgb(103, 42, 143) |
| HSL | hsl(276, 55%, 36%) |
| HSV | hsv(276, 71%, 56%) |
| CMYK | cmyk(28%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(30.70, 45.15, -44.58) |
| CIE-LCH | lch(30.70, 63.45, 315.36°) |
| OKLab | oklab(42.24% 0.1011 -0.1262) |
| OKLCH | oklch(42.24% 0.162 308.7) |
| XYZ | xyz(11.3784, 6.5229, 26.6409) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.61
Purple (survey)
#7E1E9C
ΔE00 4.47
Purple
#800080
ΔE00 7.39
Darkish Purple
#751973
ΔE00 7.49
Darkmagenta
#8B008B
ΔE00 7.83
Indigo
#4B0082
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672A8F #528F2A
analogous
#352A8F #672A8F #8F2A85
triadic
#672A8F #8F672A #2A8F67
tetradic
#672A8F #8F352A #528F2A #2A858F
square
#672A8F #8F352A #528F2A #2A858F
split-complementary
#672A8F #858F2A #2A8F35
monochromatic
#230E30 #451C60 #672A8F #8938BE #A562D1
Accessibility & contrast
On white
9.11
#672A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#672A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672A8F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672A8F | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#614059
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #672a8f; /* rgb */ color: rgb(103, 42, 143); /* oklch */ color: oklch(42.2% 0.162 308.7);
Tailwind
colors: {
custom: {
50: '#9669b0',
500: '#672a8f',
950: '#000000',
},
}SCSS
$custom: #672a8f; $custom-light: #9669b0; $custom-dark: #000000;
JSON
{
"hex": "#672a8f",
"rgb": {
"r": 103,
"g": 42,
"b": 143
},
"hsl": {
"h": 276.238,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.42244,
"c": 0.16171,
"h": 308.7
},
"luminance": 0.06523
}Semantic roles & 50–950 ramp
primary
#672A8F
secondary
#81B75E
accent
#DE4A85
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80