#6C2DA8#6C2DA8
#6C2DA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.186 H 302.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2DA8 |
|---|---|
| RGB | rgb(108, 45, 168) |
| HSL | hsl(271, 58%, 42%) |
| HSV | hsv(271, 73%, 66%) |
| CMYK | cmyk(35.7%, 73.2%, 0%, 34.1%) |
| CIE-LAB | lab(33.76, 50.77, -54.79) |
| CIE-LCH | lch(33.76, 74.70, 312.82°) |
| OKLab | oklab(45.16% 0.1009 -0.1561) |
| OKLCH | oklch(45.16% 0.186 302.9) |
| XYZ | xyz(14.1889, 7.8921, 37.8140) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.74
Purple (survey)
#7E1E9C
ΔE00 4.77
Purple Blue
#5D21D0
ΔE00 6.35
Bluey Purple
#6241C7
ΔE00 6.94
Blurple
#5539CC
ΔE00 7.27
Blue With A Hint Of Purple
#533CC6
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2DA8 #69A82D
analogous
#2F2DA8 #6C2DA8 #A82DA7
triadic
#6C2DA8 #A86C2D #2DA86C
tetradic
#6C2DA8 #A82F2D #69A82D #2DA7A8
square
#6C2DA8 #A82F2D #69A82D #2DA7A8
split-complementary
#6C2DA8 #A7A82D #2DA82F
monochromatic
#2E1347 #4D2078 #6C2DA8 #8B45CD #A975DA
Accessibility & contrast
On white
8.14
#6C2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6C2DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2DA8
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2DA8 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#604B68
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6c2da8; /* rgb */ color: rgb(108, 45, 168); /* oklch */ color: oklch(45.2% 0.186 302.9);
Tailwind
colors: {
custom: {
50: '#9b6cc3',
500: '#6c2da8',
950: '#000000',
},
}SCSS
$custom: #6c2da8; $custom-light: #9b6cc3; $custom-dark: #000000;
JSON
{
"hex": "#6c2da8",
"rgb": {
"r": 108,
"g": 45,
"b": 168
},
"hsl": {
"h": 270.732,
"s": 57.746,
"l": 41.765
},
"oklch": {
"l": 0.45162,
"c": 0.18588,
"h": 302.9
},
"luminance": 0.07892
}Semantic roles & 50–950 ramp
primary
#6C2DA8
secondary
#97C26F
accent
#E14792
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82