#6D186F#6D186F
#6D186F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.156 H 327.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6D186F |
|---|---|
| RGB | rgb(109, 24, 111) |
| HSL | hsl(299, 64%, 26%) |
| HSV | hsv(299, 78%, 44%) |
| CMYK | cmyk(1.8%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(26.88, 47.21, -30.51) |
| CIE-LCH | lch(26.88, 56.22, 327.13°) |
| OKLab | oklab(39.03% 0.1307 -0.0847) |
| OKLCH | oklch(39.03% 0.156 327) |
| XYZ | xyz(9.5024, 5.0528, 15.5106) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.61
Purple
#800080
ΔE00 4.10
Rich Purple
#720058
ΔE00 5.85
Grape Purple
#5D1451
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.27
Plum Purple
#4E0550
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D186F #1A6F18
analogous
#42186F #6D186F #6F1846
triadic
#6D186F #6F6D18 #186F6D
tetradic
#6D186F #6F4218 #1A6F18 #18466F
square
#6D186F #6F4218 #1A6F18 #18466F
split-complementary
#6D186F #466F18 #186F42
monochromatic
#190519 #3C0D3D #6D186F #9E23A1 #CE2FD2
Accessibility & contrast
On white
10.45
#6D186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#6D186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D186F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D186F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#702743
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #6d186f; /* rgb */ color: rgb(109, 24, 111); /* oklch */ color: oklch(39.0% 0.156 327.0);
Tailwind
colors: {
custom: {
50: '#9a6099',
500: '#6d186f',
950: '#000000',
},
}SCSS
$custom: #6d186f; $custom-light: #9a6099; $custom-dark: #000000;
JSON
{
"hex": "#6d186f",
"rgb": {
"r": 109,
"g": 24,
"b": 111
},
"hsl": {
"h": 298.621,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.39028,
"c": 0.15577,
"h": 327
},
"luminance": 0.05052
}Semantic roles & 50–950 ramp
primary
#6D186F
secondary
#41A53E
accent
#E74044
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E