#6D2CAB#6D2CAB
#6D2CAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.190 H 302.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2CAB |
|---|---|
| RGB | rgb(109, 44, 171) |
| HSL | hsl(271, 59%, 42%) |
| HSV | hsv(271, 74%, 67%) |
| CMYK | cmyk(36.3%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(33.97, 52.13, -56.24) |
| CIE-LCH | lch(33.97, 76.69, 312.83°) |
| OKLab | oklab(45.41% 0.1027 -0.1603) |
| OKLCH | oklch(45.41% 0.19 302.7) |
| XYZ | xyz(14.5563, 7.9928, 39.2961) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.21
Purple (survey)
#7E1E9C
ΔE00 4.86
Purple Blue
#5D21D0
ΔE00 5.97
Bluey Purple
#6241C7
ΔE00 6.76
Blurple
#5539CC
ΔE00 7.04
Blue With A Hint Of Purple
#533CC6
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2CAB #6AAB2C
analogous
#2E2CAB #6D2CAB #AB2CAA
triadic
#6D2CAB #AB6D2C #2CAB6D
tetradic
#6D2CAB #AB2E2C #6AAB2C #2CAAAB
square
#6D2CAB #AB2E2C #6AAB2C #2CAAAB
split-complementary
#6D2CAB #AAAB2C #2CAB2E
monochromatic
#2F134A #4E1F7A #6D2CAB #8C45CF #AA76DC
Accessibility & contrast
On white
8.08
#6D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6D2CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2CAB
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2CAB | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#604C69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6d2cab; /* rgb */ color: rgb(109, 44, 171); /* oklch */ color: oklch(45.4% 0.190 302.7);
Tailwind
colors: {
custom: {
50: '#9c6cc5',
500: '#6d2cab',
950: '#000000',
},
}SCSS
$custom: #6d2cab; $custom-light: #9c6cc5; $custom-dark: #000000;
JSON
{
"hex": "#6d2cab",
"rgb": {
"r": 109,
"g": 44,
"b": 171
},
"hsl": {
"h": 270.709,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.45414,
"c": 0.1904,
"h": 302.7
},
"luminance": 0.07993
}Semantic roles & 50–950 ramp
primary
#6D2CAB
secondary
#98C36F
accent
#E24692
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82