#6D2CAC#6D2CAC
#6D2CAC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 302.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2CAC |
|---|---|
| RGB | rgb(109, 44, 172) |
| HSL | hsl(270, 59%, 42%) |
| HSV | hsv(270, 74%, 67%) |
| CMYK | cmyk(36.6%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(34.05, 52.37, -56.71) |
| CIE-LCH | lch(34.05, 77.20, 312.72°) |
| OKLab | oklab(45.5% 0.1025 -0.1617) |
| OKLCH | oklch(45.5% 0.191 302.4) |
| XYZ | xyz(14.6520, 8.0311, 39.8000) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.34
Purple (survey)
#7E1E9C
ΔE00 4.96
Purple Blue
#5D21D0
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.64
Blurple
#5539CC
ΔE00 6.91
Blue With A Hint Of Purple
#533CC6
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2CAC #6BAC2C
analogous
#2D2CAC #6D2CAC #AC2CAB
triadic
#6D2CAC #AC6D2C #2CAC6D
tetradic
#6D2CAC #AC2D2C #6BAC2C #2CABAC
square
#6D2CAC #AC2D2C #6BAC2C #2CABAC
split-complementary
#6D2CAC #ABAC2C #2CAC2D
monochromatic
#2F134B #4E207B #6D2CAC #8C46D0 #AA76DC
Accessibility & contrast
On white
8.06
#6D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6D2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2CAC
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2CAC | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#604C6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6d2cac; /* rgb */ color: rgb(109, 44, 172); /* oklch */ color: oklch(45.5% 0.191 302.4);
Tailwind
colors: {
custom: {
50: '#9d6cc6',
500: '#6d2cac',
950: '#000000',
},
}SCSS
$custom: #6d2cac; $custom-light: #9d6cc6; $custom-dark: #000000;
JSON
{
"hex": "#6d2cac",
"rgb": {
"r": 109,
"g": 44,
"b": 172
},
"hsl": {
"h": 270.469,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.45495,
"c": 0.19145,
"h": 302.4
},
"luminance": 0.08031
}Semantic roles & 50–950 ramp
primary
#6D2CAC
secondary
#99C470
accent
#E24593
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82