#6C1D9C#6C1D9C
#6C1D9C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 308.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1D9C |
|---|---|
| RGB | rgb(108, 29, 156) |
| HSL | hsl(277, 69%, 36%) |
| HSV | hsv(277, 81%, 61%) |
| CMYK | cmyk(30.8%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(30.56, 54.40, -52.73) |
| CIE-LCH | lch(30.56, 75.77, 315.89°) |
| OKLab | oklab(42.62% 0.1179 -0.1499) |
| OKLCH | oklch(42.62% 0.191 308.2) |
| XYZ | xyz(12.6232, 6.4674, 32.0294) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.58
Rebeccapurple
#663399
ΔE00 4.02
Purple
#800080
ΔE00 7.46
Indigo
#4B0082
ΔE00 7.51
Darkmagenta
#8B008B
ΔE00 7.54
Violet Blue
#510AC9
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1D9C #4D9C1D
analogous
#2D1D9C #6C1D9C #9C1D8D
triadic
#6C1D9C #9C6C1D #1D9C6C
tetradic
#6C1D9C #9C2D1D #4D9C1D #1D8D9C
square
#6C1D9C #9C2D1D #4D9C1D #1D8D9C
split-complementary
#6C1D9C #8D9C1D #1D9C2D
monochromatic
#250A35 #481368 #6C1D9C #9027D0 #AB54DF
Accessibility & contrast
On white
9.16
#6C1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6C1D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1D9C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1D9C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#643E5D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c1d9c; /* rgb */ color: rgb(108, 29, 156); /* oklch */ color: oklch(42.6% 0.191 308.2);
Tailwind
colors: {
custom: {
50: '#9b64ba',
500: '#6c1d9c',
950: '#000000',
},
}SCSS
$custom: #6c1d9c; $custom-light: #9b64ba; $custom-dark: #000000;
JSON
{
"hex": "#6c1d9c",
"rgb": {
"r": 108,
"g": 29,
"b": 156
},
"hsl": {
"h": 277.323,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.42617,
"c": 0.19076,
"h": 308.2
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#6C1D9C
secondary
#7DC252
accent
#EB3C7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81