#6D148F#6D148F
#6D148F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.187 H 313.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6D148F |
|---|---|
| RGB | rgb(109, 20, 143) |
| HSL | hsl(283, 75%, 32%) |
| HSV | hsv(283, 86%, 56%) |
| CMYK | cmyk(23.8%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(28.73, 54.58, -47.71) |
| CIE-LCH | lch(28.73, 72.50, 318.84°) |
| OKLab | oklab(41.05% 0.1292 -0.1351) |
| OKLCH | oklch(41.05% 0.187 313.7) |
| XYZ | xyz(11.5139, 5.7351, 26.4817) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.84
Purple
#800080
ΔE00 5.47
Rebeccapurple
#663399
ΔE00 5.56
Darkmagenta
#8B008B
ΔE00 6.20
Darkish Purple
#751973
ΔE00 6.55
Indigo
#4B0082
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D148F #368F14
analogous
#30148F #6D148F #8F1473
triadic
#6D148F #8F6D14 #148F6D
tetradic
#6D148F #8F3014 #368F14 #14738F
square
#6D148F #8F3014 #368F14 #14738F
split-complementary
#6D148F #738F14 #148F30
monochromatic
#1B0524 #440C59 #6D148F #961CC5 #B53AE3
Accessibility & contrast
On white
9.78
#6D148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#6D148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D148F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D148F | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#693554
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6d148f; /* rgb */ color: rgb(109, 20, 143); /* oklch */ color: oklch(41.0% 0.187 313.7);
Tailwind
colors: {
custom: {
50: '#9b60b1',
500: '#6d148f',
950: '#000000',
},
}SCSS
$custom: #6d148f; $custom-light: #9b60b1; $custom-dark: #000000;
JSON
{
"hex": "#6d148f",
"rgb": {
"r": 109,
"g": 20,
"b": 143
},
"hsl": {
"h": 283.415,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.41049,
"c": 0.18691,
"h": 313.7
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#6D148F
secondary
#61C33C
accent
#F2366A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0511
muted
#7F7A80