#6B198B#6B198B
#6B198B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.178 H 313.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6B198B |
|---|---|
| RGB | rgb(107, 25, 139) |
| HSL | hsl(283, 70%, 32%) |
| HSV | hsv(283, 82%, 55%) |
| CMYK | cmyk(23%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(28.60, 51.92, -45.46) |
| CIE-LCH | lch(28.60, 69.01, 318.80°) |
| OKLab | oklab(40.8% 0.1238 -0.1286) |
| OKLCH | oklch(40.8% 0.178 313.9) |
| XYZ | xyz(11.0704, 5.6855, 24.9354) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.12
Rebeccapurple
#663399
ΔE00 5.35
Purple
#800080
ΔE00 5.38
Darkish Purple
#751973
ΔE00 6.07
Darkmagenta
#8B008B
ΔE00 6.29
Indigo
#4B0082
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B198B #398B19
analogous
#32198B #6B198B #8B1972
triadic
#6B198B #8B6B19 #198B6B
tetradic
#6B198B #8B3219 #398B19 #19728B
square
#6B198B #8B3219 #398B19 #19728B
split-complementary
#6B198B #728B19 #198B32
monochromatic
#1B0623 #431057 #6B198B #9322BF #B141DD
Accessibility & contrast
On white
9.83
#6B198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#6B198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B198B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B198B | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#0C4589
Tritanopia (blue-blind)
#683553
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6b198b; /* rgb */ color: rgb(107, 25, 139); /* oklch */ color: oklch(40.8% 0.178 313.9);
Tailwind
colors: {
custom: {
50: '#9a61ae',
500: '#6b198b',
950: '#000000',
},
}SCSS
$custom: #6b198b; $custom-light: #9a61ae; $custom-dark: #000000;
JSON
{
"hex": "#6b198b",
"rgb": {
"r": 107,
"g": 25,
"b": 139
},
"hsl": {
"h": 283.158,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.40796,
"c": 0.17846,
"h": 313.9
},
"luminance": 0.05685
}Semantic roles & 50–950 ramp
primary
#6B198B
secondary
#65BE42
accent
#EC3B6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F