#6A198C#6A198C
#6A198C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.179 H 313.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A198C |
|---|---|
| RGB | rgb(106, 25, 140) |
| HSL | hsl(282, 70%, 32%) |
| HSV | hsv(282, 82%, 55%) |
| CMYK | cmyk(24.3%, 82.1%, 0%, 45.1%) |
| CIE-LAB | lab(28.52, 51.94, -46.22) |
| CIE-LCH | lch(28.52, 69.53, 318.34°) |
| OKLab | oklab(40.73% 0.1222 -0.1308) |
| OKLCH | oklch(40.73% 0.179 313) |
| XYZ | xyz(11.0243, 5.6532, 25.3163) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.20
Rebeccapurple
#663399
ΔE00 5.22
Purple
#800080
ΔE00 5.68
Darkish Purple
#751973
ΔE00 6.38
Darkmagenta
#8B008B
ΔE00 6.55
Indigo
#4B0082
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A198C #3B8C19
analogous
#31198C #6A198C #8C1974
triadic
#6A198C #8C6A19 #198C6A
tetradic
#6A198C #8C3119 #3B8C19 #19748C
square
#6A198C #8C3119 #3B8C19 #19748C
split-complementary
#6A198C #748C19 #198C31
monochromatic
#1B0624 #431058 #6A198C #9122C0 #AF42DD
Accessibility & contrast
On white
9.86
#6A198C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#6A198C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A198C
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A198C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A198C | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#663653
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6a198c; /* rgb */ color: rgb(106, 25, 140); /* oklch */ color: oklch(40.7% 0.179 313.0);
Tailwind
colors: {
custom: {
50: '#9961ae',
500: '#6a198c',
950: '#000000',
},
}SCSS
$custom: #6a198c; $custom-light: #9961ae; $custom-dark: #000000;
JSON
{
"hex": "#6a198c",
"rgb": {
"r": 106,
"g": 25,
"b": 140
},
"hsl": {
"h": 282.261,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.40728,
"c": 0.17904,
"h": 313
},
"luminance": 0.05653
}Semantic roles & 50–950 ramp
primary
#6A198C
secondary
#67BE43
accent
#ED3B70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F