#6D198F#6D198F
#6D198F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.183 H 313.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6D198F |
|---|---|
| RGB | rgb(109, 25, 143) |
| HSL | hsl(283, 70%, 33%) |
| HSV | hsv(283, 83%, 56%) |
| CMYK | cmyk(23.8%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.24, 53.12, -46.90) |
| CIE-LCH | lch(29.24, 70.86, 318.56°) |
| OKLab | oklab(41.4% 0.1256 -0.1327) |
| OKLCH | oklch(41.4% 0.183 313.4) |
| XYZ | xyz(11.6114, 5.9300, 26.5142) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.58
Rebeccapurple
#663399
ΔE00 5.08
Purple
#800080
ΔE00 5.52
Darkmagenta
#8B008B
ΔE00 6.17
Darkish Purple
#751973
ΔE00 6.46
Indigo
#4B0082
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D198F #3B8F19
analogous
#32198F #6D198F #8F1976
triadic
#6D198F #8F6D19 #198F6D
tetradic
#6D198F #8F3219 #3B8F19 #19768F
square
#6D198F #8F3219 #3B8F19 #19768F
split-complementary
#6D198F #768F19 #198F32
monochromatic
#1E0727 #45105B #6D198F #9522C3 #B244DE
Accessibility & contrast
On white
9.61
#6D198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#6D198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D198F
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D198F | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#693755
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6d198f; /* rgb */ color: rgb(109, 25, 143); /* oklch */ color: oklch(41.4% 0.183 313.4);
Tailwind
colors: {
custom: {
50: '#9b62b1',
500: '#6d198f',
950: '#000000',
},
}SCSS
$custom: #6d198f; $custom-light: #9b62b1; $custom-dark: #000000;
JSON
{
"hex": "#6d198f",
"rgb": {
"r": 109,
"g": 25,
"b": 143
},
"hsl": {
"h": 282.712,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.41399,
"c": 0.18273,
"h": 313.4
},
"luminance": 0.0593
}Semantic roles & 50–950 ramp
primary
#6D198F
secondary
#68BF44
accent
#ED3B6E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80