#6D1F99#6D1F99
#6D1F99 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.186 H 309.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F99 |
|---|---|
| RGB | rgb(109, 31, 153) |
| HSL | hsl(278, 66%, 36%) |
| HSV | hsv(278, 80%, 60%) |
| CMYK | cmyk(28.8%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(30.72, 53.22, -50.65) |
| CIE-LCH | lch(30.72, 73.47, 316.42°) |
| OKLab | oklab(42.68% 0.1185 -0.1438) |
| OKLCH | oklch(42.68% 0.186 309.5) |
| XYZ | xyz(12.5453, 6.5313, 30.7306) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.21
Rebeccapurple
#663399
ΔE00 3.83
Purple
#800080
ΔE00 6.99
Darkmagenta
#8B008B
ΔE00 7.10
Indigo
#4B0082
ΔE00 7.69
Darkish Purple
#751973
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F99 #4B991F
analogous
#301F99 #6D1F99 #991F88
triadic
#6D1F99 #996D1F #1F996D
tetradic
#6D1F99 #99301F #4B991F #1F8899
square
#6D1F99 #99301F #4B991F #1F8899
split-complementary
#6D1F99 #88991F #1F9930
monochromatic
#240A33 #491566 #6D1F99 #9129CC #AC56DD
Accessibility & contrast
On white
9.11
#6D1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6D1F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F99
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F99 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#663E5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6d1f99; /* rgb */ color: rgb(109, 31, 153); /* oklch */ color: oklch(42.7% 0.186 309.5);
Tailwind
colors: {
custom: {
50: '#9c65b8',
500: '#6d1f99',
950: '#000000',
},
}SCSS
$custom: #6d1f99; $custom-light: #9c65b8; $custom-dark: #000000;
JSON
{
"hex": "#6d1f99",
"rgb": {
"r": 109,
"g": 31,
"b": 153
},
"hsl": {
"h": 278.361,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.4268,
"c": 0.18629,
"h": 309.5
},
"luminance": 0.06531
}Semantic roles & 50–950 ramp
primary
#6D1F99
secondary
#7BC054
accent
#E93F7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80