#6A198F#6A198F
#6A198F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.182 H 312.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6A198F |
|---|---|
| RGB | rgb(106, 25, 143) |
| HSL | hsl(281, 70%, 33%) |
| HSV | hsv(281, 83%, 56%) |
| CMYK | cmyk(25.9%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(28.75, 52.58, -47.70) |
| CIE-LCH | lch(28.75, 70.99, 317.78°) |
| OKLab | oklab(40.97% 0.1215 -0.1352) |
| OKLCH | oklch(40.97% 0.182 312) |
| XYZ | xyz(11.2485, 5.7429, 26.4972) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.06
Rebeccapurple
#663399
ΔE00 4.98
Purple
#800080
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.54
Darkmagenta
#8B008B
ΔE00 6.76
Darkish Purple
#751973
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A198F #3E8F19
analogous
#2F198F #6A198F #8F1979
triadic
#6A198F #8F6A19 #198F6A
tetradic
#6A198F #8F2F19 #3E8F19 #19798F
square
#6A198F #8F2F19 #3E8F19 #19798F
split-complementary
#6A198F #798F19 #198F2F
monochromatic
#1D0727 #43105B #6A198F #9122C3 #AE44DE
Accessibility & contrast
On white
9.77
#6A198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#6A198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A198F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A198F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#653755
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6a198f; /* rgb */ color: rgb(106, 25, 143); /* oklch */ color: oklch(41.0% 0.182 312.0);
Tailwind
colors: {
custom: {
50: '#9961b1',
500: '#6a198f',
950: '#000000',
},
}SCSS
$custom: #6a198f; $custom-light: #9961b1; $custom-dark: #000000;
JSON
{
"hex": "#6a198f",
"rgb": {
"r": 106,
"g": 25,
"b": 143
},
"hsl": {
"h": 281.186,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.40966,
"c": 0.18178,
"h": 312
},
"luminance": 0.05743
}Semantic roles & 50–950 ramp
primary
#6A198F
secondary
#6BBF44
accent
#ED3B73
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80