#6C1FA5#6C1FA5
#6C1FA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.197 H 305.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1FA5 |
|---|---|
| RGB | rgb(108, 31, 165) |
| HSL | hsl(274, 68%, 38%) |
| HSV | hsv(274, 81%, 65%) |
| CMYK | cmyk(34.5%, 81.2%, 0%, 35.3%) |
| CIE-LAB | lab(31.54, 55.72, -56.59) |
| CIE-LCH | lch(31.54, 79.42, 314.55°) |
| OKLab | oklab(43.53% 0.114 -0.1613) |
| OKLCH | oklch(43.53% 0.197 305.2) |
| XYZ | xyz(13.4643, 6.8848, 36.2096) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.02
Purple (survey)
#7E1E9C
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 6.63
Violet Blue
#510AC9
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.90
Indigo
#4B0082
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1FA5 #58A51F
analogous
#291FA5 #6C1FA5 #A51F9B
triadic
#6C1FA5 #A56C1F #1FA56C
tetradic
#6C1FA5 #A5291F #58A51F #1F9BA5
square
#6C1FA5 #A5291F #58A51F #1F9BA5
split-complementary
#6C1FA5 #9BA51F #1FA529
monochromatic
#290C3E #4A1571 #6C1FA5 #8D2AD7 #A95EE1
Accessibility & contrast
On white
8.83
#6C1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6C1FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1FA5
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1FA5 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#614363
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c1fa5; /* rgb */ color: rgb(108, 31, 165); /* oklch */ color: oklch(43.5% 0.197 305.2);
Tailwind
colors: {
custom: {
50: '#9c65c1',
500: '#6c1fa5',
950: '#000000',
},
}SCSS
$custom: #6c1fa5; $custom-light: #9c65c1; $custom-dark: #000000;
JSON
{
"hex": "#6c1fa5",
"rgb": {
"r": 108,
"g": 31,
"b": 165
},
"hsl": {
"h": 274.478,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.43532,
"c": 0.19748,
"h": 305.2
},
"luminance": 0.06885
}Semantic roles & 50–950 ramp
primary
#6C1FA5
secondary
#88C55B
accent
#EB3D87
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81