#6D1F9E#6D1F9E
#6D1F9E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.191 H 307.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F9E |
|---|---|
| RGB | rgb(109, 31, 158) |
| HSL | hsl(277, 67%, 37%) |
| HSV | hsv(277, 80%, 62%) |
| CMYK | cmyk(31%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(31.11, 54.32, -53.05) |
| CIE-LCH | lch(31.11, 75.92, 315.68°) |
| OKLab | oklab(43.08% 0.1173 -0.1508) |
| OKLCH | oklch(43.08% 0.191 307.9) |
| XYZ | xyz(12.9669, 6.7000, 32.9513) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.44
Rebeccapurple
#663399
ΔE00 3.80
Darkmagenta
#8B008B
ΔE00 7.60
Purple
#800080
ΔE00 7.65
Purple Blue
#5D21D0
ΔE00 7.79
Violet Blue
#510AC9
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F9E #509E1F
analogous
#2D1F9E #6D1F9E #9E1F90
triadic
#6D1F9E #9E6D1F #1F9E6D
tetradic
#6D1F9E #9E2D1F #509E1F #1F909E
square
#6D1F9E #9E2D1F #509E1F #1F909E
split-complementary
#6D1F9E #909E1F #1F9E2D
monochromatic
#260B38 #4A156B #6D1F9E #9029D1 #AB59DE
Accessibility & contrast
On white
8.97
#6D1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6D1F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F9E
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F9E | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#65405F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6d1f9e; /* rgb */ color: rgb(109, 31, 158); /* oklch */ color: oklch(43.1% 0.191 307.9);
Tailwind
colors: {
custom: {
50: '#9c65bc',
500: '#6d1f9e',
950: '#000000',
},
}SCSS
$custom: #6d1f9e; $custom-light: #9c65bc; $custom-dark: #000000;
JSON
{
"hex": "#6d1f9e",
"rgb": {
"r": 109,
"g": 31,
"b": 158
},
"hsl": {
"h": 276.85,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.43084,
"c": 0.19104,
"h": 307.9
},
"luminance": 0.067
}Semantic roles & 50–950 ramp
primary
#6D1F9E
secondary
#80C256
accent
#EA3E80
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81