#6C2DA9#6C2DA9
#6C2DA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.187 H 302.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2DA9 |
|---|---|
| RGB | rgb(108, 45, 169) |
| HSL | hsl(270, 58%, 42%) |
| HSV | hsv(270, 73%, 66%) |
| CMYK | cmyk(36.1%, 73.4%, 0%, 33.7%) |
| CIE-LAB | lab(33.84, 51.01, -55.27) |
| CIE-LCH | lch(33.84, 75.21, 312.71°) |
| OKLab | oklab(45.24% 0.1007 -0.1575) |
| OKLCH | oklch(45.24% 0.187 302.6) |
| XYZ | xyz(14.2825, 7.9295, 38.3065) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.87
Purple (survey)
#7E1E9C
ΔE00 4.87
Purple Blue
#5D21D0
ΔE00 6.20
Bluey Purple
#6241C7
ΔE00 6.82
Blurple
#5539CC
ΔE00 7.13
Blue With A Hint Of Purple
#533CC6
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2DA9 #6AA92D
analogous
#2E2DA9 #6C2DA9 #A92DA8
triadic
#6C2DA9 #A96C2D #2DA96C
tetradic
#6C2DA9 #A92E2D #6AA92D #2DA8A9
square
#6C2DA9 #A92E2D #6AA92D #2DA8A9
split-complementary
#6C2DA9 #A8A92D #2DA92E
monochromatic
#2E1348 #4D2079 #6C2DA9 #8B46CE #A976DA
Accessibility & contrast
On white
8.12
#6C2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6C2DA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2DA9
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2DA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2DA9 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#5F4B68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6c2da9; /* rgb */ color: rgb(108, 45, 169); /* oklch */ color: oklch(45.2% 0.187 302.6);
Tailwind
colors: {
custom: {
50: '#9c6cc3',
500: '#6c2da9',
950: '#000000',
},
}SCSS
$custom: #6c2da9; $custom-light: #9c6cc3; $custom-dark: #000000;
JSON
{
"hex": "#6c2da9",
"rgb": {
"r": 108,
"g": 45,
"b": 169
},
"hsl": {
"h": 270.484,
"s": 57.944,
"l": 41.961
},
"oklch": {
"l": 0.45242,
"c": 0.18695,
"h": 302.6
},
"luminance": 0.07929
}Semantic roles & 50–950 ramp
primary
#6C2DA9
secondary
#98C26F
accent
#E14793
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82