#671E9E#671E9E
#671E9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.191 H 305.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #671E9E |
|---|---|
| RGB | rgb(103, 30, 158) |
| HSL | hsl(274, 68%, 37%) |
| HSV | hsv(274, 81%, 62%) |
| CMYK | cmyk(34.8%, 81%, 0%, 38%) |
| CIE-LAB | lab(30.11, 53.66, -54.72) |
| CIE-LCH | lch(30.11, 76.64, 314.44°) |
| OKLab | oklab(42.2% 0.1095 -0.1559) |
| OKLCH | oklch(42.2% 0.191 305.1) |
| XYZ | xyz(12.2279, 6.2808, 32.9092) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.95
Purple (survey)
#7E1E9C
ΔE00 4.59
Indigo
#4B0082
ΔE00 7.09
Violet Blue
#510AC9
ΔE00 7.10
Purple Blue
#5D21D0
ΔE00 7.38
Indigo Blue
#3A18B1
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671E9E #559E1E
analogous
#271E9E #671E9E #9E1E95
triadic
#671E9E #9E671E #1E9E67
tetradic
#671E9E #9E271E #559E1E #1E959E
square
#671E9E #9E271E #559E1E #1E959E
split-complementary
#671E9E #959E1E #1E9E27
monochromatic
#240A37 #45146B #671E9E #8928D1 #A557DF
Accessibility & contrast
On white
9.31
#671E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#671E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671E9E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671E9E | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #671e9e; /* rgb */ color: rgb(103, 30, 158); /* oklch */ color: oklch(42.2% 0.191 305.1);
Tailwind
colors: {
custom: {
50: '#9864bc',
500: '#671e9e',
950: '#000000',
},
}SCSS
$custom: #671e9e; $custom-light: #9864bc; $custom-dark: #000000;
JSON
{
"hex": "#671e9e",
"rgb": {
"r": 103,
"g": 30,
"b": 158
},
"hsl": {
"h": 274.219,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.42199,
"c": 0.19052,
"h": 305.1
},
"luminance": 0.06281
}Semantic roles & 50–950 ramp
primary
#671E9E
secondary
#84C355
accent
#EB3D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81