#6C2CAE#6C2CAE
#6C2CAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.193 H 301.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2CAE |
|---|---|
| RGB | rgb(108, 44, 174) |
| HSL | hsl(270, 60%, 43%) |
| HSV | hsv(270, 75%, 68%) |
| CMYK | cmyk(37.9%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(34.08, 52.68, -57.86) |
| CIE-LCH | lch(34.08, 78.25, 312.31°) |
| OKLab | oklab(45.54% 0.1006 -0.1651) |
| OKLCH | oklch(45.54% 0.193 301.4) |
| XYZ | xyz(14.7231, 8.0454, 40.8134) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.59
Purple (survey)
#7E1E9C
ΔE00 5.32
Purple Blue
#5D21D0
ΔE00 5.46
Bluey Purple
#6241C7
ΔE00 6.36
Blurple
#5539CC
ΔE00 6.55
Blue With A Hint Of Purple
#533CC6
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2CAE #6EAE2C
analogous
#2C2DAE #6C2CAE #AD2CAE
triadic
#6C2CAE #AE6C2C #2CAE6C
tetradic
#6C2CAE #AE2C2D #6EAE2C #2CAEAD
square
#6C2CAE #AE2C2D #6EAE2C #2CAEAD
split-complementary
#6C2CAE #AEAD2C #2DAE2C
monochromatic
#2F134C #4E207D #6C2CAE #8B47D0 #A978DD
Accessibility & contrast
On white
8.05
#6C2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6C2CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2CAE
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2CAE | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5D4D6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6c2cae; /* rgb */ color: rgb(108, 44, 174); /* oklch */ color: oklch(45.5% 0.193 301.4);
Tailwind
colors: {
custom: {
50: '#9c6cc7',
500: '#6c2cae',
950: '#000000',
},
}SCSS
$custom: #6c2cae; $custom-light: #9c6cc7; $custom-dark: #000000;
JSON
{
"hex": "#6c2cae",
"rgb": {
"r": 108,
"g": 44,
"b": 174
},
"hsl": {
"h": 269.538,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45537,
"c": 0.19336,
"h": 301.4
},
"luminance": 0.08046
}Semantic roles & 50–950 ramp
primary
#6C2CAE
secondary
#9CC571
accent
#E34595
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82