#6D1F94#6D1F94
#6D1F94 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.182 H 311.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F94 |
|---|---|
| RGB | rgb(109, 31, 148) |
| HSL | hsl(280, 65%, 35%) |
| HSV | hsv(280, 79%, 58%) |
| CMYK | cmyk(26.4%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(30.33, 52.13, -48.21) |
| CIE-LCH | lch(30.33, 71.01, 317.23°) |
| OKLab | oklab(42.29% 0.1196 -0.1366) |
| OKLCH | oklch(42.29% 0.182 311.2) |
| XYZ | xyz(12.1409, 6.3696, 28.6011) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.17
Rebeccapurple
#663399
ΔE00 4.04
Purple
#800080
ΔE00 6.33
Darkmagenta
#8B008B
ΔE00 6.64
Darkish Purple
#751973
ΔE00 7.25
Indigo
#4B0082
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F94 #46941F
analogous
#331F94 #6D1F94 #941F80
triadic
#6D1F94 #946D1F #1F946D
tetradic
#6D1F94 #94331F #46941F #1F8094
square
#6D1F94 #94331F #46941F #1F8094
split-complementary
#6D1F94 #80941F #1F9433
monochromatic
#220A2F #481461 #6D1F94 #922AC7 #AD53DB
Accessibility & contrast
On white
9.24
#6D1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6D1F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F94
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F94 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#024992
Tritanopia (blue-blind)
#683C59
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6d1f94; /* rgb */ color: rgb(109, 31, 148); /* oklch */ color: oklch(42.3% 0.182 311.2);
Tailwind
colors: {
custom: {
50: '#9b64b4',
500: '#6d1f94',
950: '#000000',
},
}SCSS
$custom: #6d1f94; $custom-light: #9b64b4; $custom-dark: #000000;
JSON
{
"hex": "#6d1f94",
"rgb": {
"r": 109,
"g": 31,
"b": 148
},
"hsl": {
"h": 280,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.42285,
"c": 0.18156,
"h": 311.2
},
"luminance": 0.06369
}Semantic roles & 50–950 ramp
primary
#6D1F94
secondary
#75BE51
accent
#E83F78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80