#671F9F#671F9F
#671F9F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.191 H 304.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #671F9F |
|---|---|
| RGB | rgb(103, 31, 159) |
| HSL | hsl(274, 67%, 37%) |
| HSV | hsv(274, 81%, 62%) |
| CMYK | cmyk(35.2%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.32, 53.53, -54.99) |
| CIE-LCH | lch(30.32, 76.74, 314.23°) |
| OKLab | oklab(42.37% 0.1084 -0.1567) |
| OKLCH | oklch(42.37% 0.191 304.7) |
| XYZ | xyz(12.3401, 6.3668, 33.3730) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.84
Purple (survey)
#7E1E9C
ΔE00 4.62
Violet Blue
#510AC9
ΔE00 6.99
Purple Blue
#5D21D0
ΔE00 7.20
Indigo
#4B0082
ΔE00 7.25
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F9F #579F1F
analogous
#271F9F #671F9F #9F1F97
triadic
#671F9F #9F671F #1F9F67
tetradic
#671F9F #9F271F #579F1F #1F979F
square
#671F9F #9F271F #579F1F #1F979F
split-complementary
#671F9F #979F1F #1F9F27
monochromatic
#250B39 #46156C #671F9F #8829D2 #A55ADF
Accessibility & contrast
On white
9.24
#671F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#671F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F9F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F9F | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5C415F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #671f9f; /* rgb */ color: rgb(103, 31, 159); /* oklch */ color: oklch(42.4% 0.191 304.7);
Tailwind
colors: {
custom: {
50: '#9864bc',
500: '#671f9f',
950: '#000000',
},
}SCSS
$custom: #671f9f; $custom-light: #9864bc; $custom-dark: #000000;
JSON
{
"hex": "#671f9f",
"rgb": {
"r": 103,
"g": 31,
"b": 159
},
"hsl": {
"h": 273.75,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.42372,
"c": 0.19056,
"h": 304.7
},
"luminance": 0.06367
}Semantic roles & 50–950 ramp
primary
#671F9F
secondary
#86C357
accent
#EA3E89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81