#6C148F#6C148F
#6C148F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.187 H 313.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6C148F |
|---|---|
| RGB | rgb(108, 20, 143) |
| HSL | hsl(283, 75%, 32%) |
| HSV | hsv(283, 86%, 56%) |
| CMYK | cmyk(24.5%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(28.57, 54.41, -47.99) |
| CIE-LCH | lch(28.57, 72.55, 318.59°) |
| OKLab | oklab(40.9% 0.1278 -0.1359) |
| OKLCH | oklch(40.9% 0.187 313.2) |
| XYZ | xyz(11.3915, 5.6720, 26.4760) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.99
Rebeccapurple
#663399
ΔE00 5.54
Purple
#800080
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 6.39
Indigo
#4B0082
ΔE00 6.58
Darkish Purple
#751973
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C148F #378F14
analogous
#2F148F #6C148F #8F1475
triadic
#6C148F #8F6C14 #148F6C
tetradic
#6C148F #8F2F14 #378F14 #14758F
square
#6C148F #8F2F14 #378F14 #14758F
split-complementary
#6C148F #758F14 #148F2F
monochromatic
#1B0524 #430C59 #6C148F #951CC5 #B33AE3
Accessibility & contrast
On white
9.84
#6C148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#6C148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C148F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C148F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#683554
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6c148f; /* rgb */ color: rgb(108, 20, 143); /* oklch */ color: oklch(40.9% 0.187 313.2);
Tailwind
colors: {
custom: {
50: '#9b60b1',
500: '#6c148f',
950: '#000000',
},
}SCSS
$custom: #6c148f; $custom-light: #9b60b1; $custom-dark: #000000;
JSON
{
"hex": "#6c148f",
"rgb": {
"r": 108,
"g": 20,
"b": 143
},
"hsl": {
"h": 282.927,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.40902,
"c": 0.18659,
"h": 313.2
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#6C148F
secondary
#62C33C
accent
#F2366B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80