#6D1F9C#6D1F9C
#6D1F9C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.189 H 308.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F9C |
|---|---|
| RGB | rgb(109, 31, 156) |
| HSL | hsl(277, 67%, 37%) |
| HSV | hsv(277, 80%, 61%) |
| CMYK | cmyk(30.1%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(30.95, 53.88, -52.09) |
| CIE-LCH | lch(30.95, 74.94, 315.97°) |
| OKLab | oklab(42.92% 0.1178 -0.148) |
| OKLCH | oklch(42.92% 0.189 308.5) |
| XYZ | xyz(12.7962, 6.6317, 32.0520) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.33
Rebeccapurple
#663399
ΔE00 3.79
Purple
#800080
ΔE00 7.38
Darkmagenta
#8B008B
ΔE00 7.40
Indigo
#4B0082
ΔE00 7.82
Purple Blue
#5D21D0
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F9C #4E9C1F
analogous
#2F1F9C #6D1F9C #9C1F8D
triadic
#6D1F9C #9C6D1F #1F9C6D
tetradic
#6D1F9C #9C2F1F #4E9C1F #1F8D9C
square
#6D1F9C #9C2F1F #4E9C1F #1F8D9C
split-complementary
#6D1F9C #8D9C1F #1F9C2F
monochromatic
#260B36 #491569 #6D1F9C #9129CF #AB58DE
Accessibility & contrast
On white
9.03
#6D1F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6D1F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F9C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F9C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#663F5E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6d1f9c; /* rgb */ color: rgb(109, 31, 156); /* oklch */ color: oklch(42.9% 0.189 308.5);
Tailwind
colors: {
custom: {
50: '#9c65ba',
500: '#6d1f9c',
950: '#000000',
},
}SCSS
$custom: #6d1f9c; $custom-light: #9c65ba; $custom-dark: #000000;
JSON
{
"hex": "#6d1f9c",
"rgb": {
"r": 109,
"g": 31,
"b": 156
},
"hsl": {
"h": 277.44,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.42921,
"c": 0.18914,
"h": 308.5
},
"luminance": 0.06631
}Semantic roles & 50–950 ramp
primary
#6D1F9C
secondary
#7EC155
accent
#EA3E7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81