#671B9F#671B9F
#671B9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.194 H 305.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #671B9F |
|---|---|
| RGB | rgb(103, 27, 159) |
| HSL | hsl(275, 71%, 36%) |
| HSV | hsv(275, 83%, 62%) |
| CMYK | cmyk(35.2%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(29.84, 54.93, -55.77) |
| CIE-LCH | lch(29.84, 78.28, 314.56°) |
| OKLab | oklab(42.04% 0.1114 -0.159) |
| OKLCH | oklch(42.04% 0.194 305) |
| XYZ | xyz(12.2420, 6.1707, 33.3403) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.37
Purple (survey)
#7E1E9C
ΔE00 4.73
Violet Blue
#510AC9
ΔE00 6.87
Indigo
#4B0082
ΔE00 6.92
Purple Blue
#5D21D0
ΔE00 7.29
Indigo Blue
#3A18B1
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671B9F #539F1B
analogous
#251B9F #671B9F #9F1B95
triadic
#671B9F #9F671B #1B9F67
tetradic
#671B9F #9F251B #539F1B #1B959F
square
#671B9F #9F251B #539F1B #1B959F
split-complementary
#671B9F #959F1B #1B9F25
monochromatic
#230936 #45126B #671B9F #8924D3 #A553E2
Accessibility & contrast
On white
9.40
#671B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#671B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671B9F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671B9F | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #671b9f; /* rgb */ color: rgb(103, 27, 159); /* oklch */ color: oklch(42.0% 0.194 305.0);
Tailwind
colors: {
custom: {
50: '#9862bc',
500: '#671b9f',
950: '#000000',
},
}SCSS
$custom: #671b9f; $custom-light: #9862bc; $custom-dark: #000000;
JSON
{
"hex": "#671b9f",
"rgb": {
"r": 103,
"g": 27,
"b": 159
},
"hsl": {
"h": 274.545,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.42037,
"c": 0.19416,
"h": 305
},
"luminance": 0.06171
}Semantic roles & 50–950 ramp
primary
#671B9F
secondary
#82C551
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81