#671C9F#671C9F
#671C9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.193 H 304.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #671C9F |
|---|---|
| RGB | rgb(103, 28, 159) |
| HSL | hsl(274, 70%, 37%) |
| HSV | hsv(274, 82%, 62%) |
| CMYK | cmyk(35.2%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.95, 54.59, -55.58) |
| CIE-LCH | lch(29.95, 77.91, 314.48°) |
| OKLab | oklab(42.12% 0.1107 -0.1585) |
| OKLCH | oklch(42.12% 0.193 304.9) |
| XYZ | xyz(12.2654, 6.2173, 33.3481) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.24
Purple (survey)
#7E1E9C
ΔE00 4.70
Violet Blue
#510AC9
ΔE00 6.89
Indigo
#4B0082
ΔE00 6.99
Purple Blue
#5D21D0
ΔE00 7.26
Indigo Blue
#3A18B1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671C9F #549F1C
analogous
#261C9F #671C9F #9F1C96
triadic
#671C9F #9F671C #1C9F67
tetradic
#671C9F #9F261C #549F1C #1C969F
square
#671C9F #9F261C #549F1C #1C969F
split-complementary
#671C9F #969F1C #1C9F26
monochromatic
#240A37 #45136B #671C9F #8925D3 #A554E1
Accessibility & contrast
On white
9.36
#671C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#671C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671C9F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671C9F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #671c9f; /* rgb */ color: rgb(103, 28, 159); /* oklch */ color: oklch(42.1% 0.193 304.9);
Tailwind
colors: {
custom: {
50: '#9863bc',
500: '#671c9f',
950: '#000000',
},
}SCSS
$custom: #671c9f; $custom-light: #9863bc; $custom-dark: #000000;
JSON
{
"hex": "#671c9f",
"rgb": {
"r": 103,
"g": 28,
"b": 159
},
"hsl": {
"h": 274.351,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.42117,
"c": 0.19329,
"h": 304.9
},
"luminance": 0.06217
}Semantic roles & 50–950 ramp
primary
#671C9F
secondary
#83C453
accent
#ED3B87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81