#671898#671898
#671898 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.190 H 307.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #671898 |
|---|---|
| RGB | rgb(103, 24, 152) |
| HSL | hsl(277, 73%, 35%) |
| HSV | hsv(277, 84%, 60%) |
| CMYK | cmyk(32.2%, 84.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.91, 54.33, -53.01) |
| CIE-LCH | lch(28.91, 75.91, 315.70°) |
| OKLab | oklab(41.21% 0.1156 -0.1509) |
| OKLCH | oklch(41.21% 0.19 307.5) |
| XYZ | xyz(11.5864, 5.8040, 30.2096) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.59
Rebeccapurple
#663399
ΔE00 4.71
Indigo
#4B0082
ΔE00 6.24
Purple
#800080
ΔE00 7.59
Violet Blue
#510AC9
ΔE00 7.83
Indigo Blue
#3A18B1
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671898 #499818
analogous
#271898 #671898 #981889
triadic
#671898 #986718 #189867
tetradic
#671898 #982718 #499818 #188998
square
#671898 #982718 #499818 #188998
split-complementary
#671898 #899818 #189827
monochromatic
#1F072E #431063 #671898 #8B20CD #A748E2
Accessibility & contrast
On white
9.72
#671898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#671898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671898
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671898 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5F3B5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #671898; /* rgb */ color: rgb(103, 24, 152); /* oklch */ color: oklch(41.2% 0.190 307.5);
Tailwind
colors: {
custom: {
50: '#9861b7',
500: '#671898',
950: '#000000',
},
}SCSS
$custom: #671898; $custom-light: #9861b7; $custom-dark: #000000;
JSON
{
"hex": "#671898",
"rgb": {
"r": 103,
"g": 24,
"b": 152
},
"hsl": {
"h": 277.031,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.41209,
"c": 0.1901,
"h": 307.5
},
"luminance": 0.05804
}Semantic roles & 50–950 ramp
primary
#671898
secondary
#77C448
accent
#EF387E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80