#672F9C#672F9C
#672F9C is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.169 H 303.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #672F9C |
|---|---|
| RGB | rgb(103, 47, 156) |
| HSL | hsl(271, 54%, 40%) |
| HSV | hsv(271, 70%, 61%) |
| CMYK | cmyk(34%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(32.52, 45.88, -49.59) |
| CIE-LCH | lch(32.52, 67.56, 312.78°) |
| OKLab | oklab(43.85% 0.0938 -0.141) |
| OKLCH | oklch(43.85% 0.169 303.6) |
| XYZ | xyz(12.6094, 7.3169, 32.1941) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.03
Purple (survey)
#7E1E9C
ΔE00 4.92
Purple Blue
#5D21D0
ΔE00 7.89
Darkslateblue
#483D8B
ΔE00 8.02
Bluey Purple
#6241C7
ΔE00 8.09
Ocean Blue
#4F42B5
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#672F9C #649C2F
analogous
#312F9C #672F9C #9C2F9B
triadic
#672F9C #9C672F #2F9C67
tetradic
#672F9C #9C312F #649C2F #2F9B9C
square
#672F9C #9C312F #649C2F #2F9B9C
split-complementary
#672F9C #9B9C2F #2F9C31
monochromatic
#29133E #48216D #672F9C #8642C6 #A471D4
Accessibility & contrast
On white
8.52
#672F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#672F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #672F9C
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##672F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##672F9C | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5D4862
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #672f9c; /* rgb */ color: rgb(103, 47, 156); /* oklch */ color: oklch(43.8% 0.169 303.6);
Tailwind
colors: {
custom: {
50: '#976cba',
500: '#672f9c',
950: '#000000',
},
}SCSS
$custom: #672f9c; $custom-light: #976cba; $custom-dark: #000000;
JSON
{
"hex": "#672f9c",
"rgb": {
"r": 103,
"g": 47,
"b": 156
},
"hsl": {
"h": 270.826,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.43849,
"c": 0.16932,
"h": 303.6
},
"luminance": 0.07317
}Semantic roles & 50–950 ramp
primary
#672F9C
secondary
#92BC6B
accent
#DD4B92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81