#6A148F#6A148F
#6A148F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.6% C 0.186 H 312.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6A148F |
|---|---|
| RGB | rgb(106, 20, 143) |
| HSL | hsl(282, 75%, 32%) |
| HSV | hsv(282, 86%, 56%) |
| CMYK | cmyk(25.9%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(28.24, 54.07, -48.53) |
| CIE-LCH | lch(28.24, 72.66, 318.09°) |
| OKLab | oklab(40.61% 0.1251 -0.1376) |
| OKLCH | oklch(40.61% 0.186 312.3) |
| XYZ | xyz(11.1510, 5.5480, 26.4647) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.31
Rebeccapurple
#663399
ΔE00 5.50
Purple
#800080
ΔE00 5.99
Indigo
#4B0082
ΔE00 6.22
Darkmagenta
#8B008B
ΔE00 6.79
Darkish Purple
#751973
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A148F #398F14
analogous
#2C148F #6A148F #8F1477
triadic
#6A148F #8F6A14 #148F6A
tetradic
#6A148F #8F2C14 #398F14 #14778F
square
#6A148F #8F2C14 #398F14 #14778F
split-complementary
#6A148F #778F14 #148F2C
monochromatic
#1A0524 #420C59 #6A148F #921CC5 #B03AE3
Accessibility & contrast
On white
9.95
#6A148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#6A148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A148F
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A148F | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#653554
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6a148f; /* rgb */ color: rgb(106, 20, 143); /* oklch */ color: oklch(40.6% 0.186 312.3);
Tailwind
colors: {
custom: {
50: '#995fb1',
500: '#6a148f',
950: '#000000',
},
}SCSS
$custom: #6a148f; $custom-light: #995fb1; $custom-dark: #000000;
JSON
{
"hex": "#6a148f",
"rgb": {
"r": 106,
"g": 20,
"b": 143
},
"hsl": {
"h": 281.951,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.40609,
"c": 0.18597,
"h": 312.3
},
"luminance": 0.05548
}Semantic roles & 50–950 ramp
primary
#6A148F
secondary
#65C33C
accent
#F2366E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80