#6D1F9D#6D1F9D
#6D1F9D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.190 H 308.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F9D |
|---|---|
| RGB | rgb(109, 31, 157) |
| HSL | hsl(277, 67%, 37%) |
| HSV | hsv(277, 80%, 62%) |
| CMYK | cmyk(30.6%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(31.03, 54.10, -52.57) |
| CIE-LCH | lch(31.03, 75.43, 315.82°) |
| OKLab | oklab(43% 0.1175 -0.1494) |
| OKLCH | oklch(43% 0.19 308.2) |
| XYZ | xyz(12.8812, 6.6657, 32.4998) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.38
Rebeccapurple
#663399
ΔE00 3.79
Darkmagenta
#8B008B
ΔE00 7.50
Purple
#800080
ΔE00 7.52
Indigo
#4B0082
ΔE00 7.87
Purple Blue
#5D21D0
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F9D #4F9D1F
analogous
#2E1F9D #6D1F9D #9D1F8E
triadic
#6D1F9D #9D6D1F #1F9D6D
tetradic
#6D1F9D #9D2E1F #4F9D1F #1F8E9D
square
#6D1F9D #9D2E1F #4F9D1F #1F8E9D
split-complementary
#6D1F9D #8E9D1F #1F9D2E
monochromatic
#260B37 #4A156A #6D1F9D #9029D0 #AB58DE
Accessibility & contrast
On white
9.00
#6D1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6D1F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F9D
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F9D | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#65405E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6d1f9d; /* rgb */ color: rgb(109, 31, 157); /* oklch */ color: oklch(43.0% 0.190 308.2);
Tailwind
colors: {
custom: {
50: '#9c65bb',
500: '#6d1f9d',
950: '#000000',
},
}SCSS
$custom: #6d1f9d; $custom-light: #9c65bb; $custom-dark: #000000;
JSON
{
"hex": "#6d1f9d",
"rgb": {
"r": 109,
"g": 31,
"b": 157
},
"hsl": {
"h": 277.143,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.43002,
"c": 0.19009,
"h": 308.2
},
"luminance": 0.06666
}Semantic roles & 50–950 ramp
primary
#6D1F9D
secondary
#7FC256
accent
#EA3E7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81