#671F9D#671F9D
#671F9D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.189 H 305.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #671F9D |
|---|---|
| RGB | rgb(103, 31, 157) |
| HSL | hsl(274, 67%, 37%) |
| HSV | hsv(274, 80%, 62%) |
| CMYK | cmyk(34.4%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(30.15, 53.07, -54.04) |
| CIE-LCH | lch(30.15, 75.74, 314.48°) |
| OKLab | oklab(42.2% 0.1089 -0.154) |
| OKLCH | oklch(42.2% 0.189 305.3) |
| XYZ | xyz(12.1679, 6.2979, 32.4663) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.79
Purple (survey)
#7E1E9C
ΔE00 4.52
Indigo
#4B0082
ΔE00 7.11
Violet Blue
#510AC9
ΔE00 7.28
Purple Blue
#5D21D0
ΔE00 7.52
Indigo Blue
#3A18B1
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F9D #559D1F
analogous
#281F9D #671F9D #9D1F94
triadic
#671F9D #9D671F #1F9D67
tetradic
#671F9D #9D281F #559D1F #1F949D
square
#671F9D #9D281F #559D1F #1F949D
split-complementary
#671F9D #949D1F #1F9D28
monochromatic
#240B37 #45156A #671F9D #8929D0 #A558DE
Accessibility & contrast
On white
9.29
#671F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#671F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F9D
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F9D | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#5D405E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #671f9d; /* rgb */ color: rgb(103, 31, 157); /* oklch */ color: oklch(42.2% 0.189 305.3);
Tailwind
colors: {
custom: {
50: '#9864bb',
500: '#671f9d',
950: '#000000',
},
}SCSS
$custom: #671f9d; $custom-light: #9864bb; $custom-dark: #000000;
JSON
{
"hex": "#671f9d",
"rgb": {
"r": 103,
"g": 31,
"b": 157
},
"hsl": {
"h": 274.286,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.42203,
"c": 0.18861,
"h": 305.3
},
"luminance": 0.06298
}Semantic roles & 50–950 ramp
primary
#671F9D
secondary
#84C256
accent
#EA3E88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81