#6D2CA8#6D2CA8
#6D2CA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.187 H 303.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2CA8 |
|---|---|
| RGB | rgb(109, 44, 168) |
| HSL | hsl(271, 58%, 42%) |
| HSV | hsv(271, 74%, 66%) |
| CMYK | cmyk(35.1%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(33.73, 51.41, -54.83) |
| CIE-LCH | lch(33.73, 75.16, 313.16°) |
| OKLab | oklab(45.17% 0.1033 -0.1562) |
| OKLCH | oklch(45.17% 0.187 303.5) |
| XYZ | xyz(14.2736, 7.8797, 37.8072) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.85
Purple (survey)
#7E1E9C
ΔE00 4.55
Purple Blue
#5D21D0
ΔE00 6.40
Bluey Purple
#6241C7
ΔE00 7.12
Blurple
#5539CC
ΔE00 7.43
Blue With A Hint Of Purple
#533CC6
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2CA8 #67A82C
analogous
#2F2CA8 #6D2CA8 #A82CA5
triadic
#6D2CA8 #A86D2C #2CA86D
tetradic
#6D2CA8 #A82F2C #67A82C #2CA5A8
square
#6D2CA8 #A82F2C #67A82C #2CA5A8
split-complementary
#6D2CA8 #A5A82C #2CA82F
monochromatic
#2E1347 #4E1F78 #6D2CA8 #8C43CE #AA74DB
Accessibility & contrast
On white
8.15
#6D2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6D2CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2CA8
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2CA8 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#614A68
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6d2ca8; /* rgb */ color: rgb(109, 44, 168); /* oklch */ color: oklch(45.2% 0.187 303.5);
Tailwind
colors: {
custom: {
50: '#9c6bc3',
500: '#6d2ca8',
950: '#000000',
},
}SCSS
$custom: #6d2ca8; $custom-light: #9c6bc3; $custom-dark: #000000;
JSON
{
"hex": "#6d2ca8",
"rgb": {
"r": 109,
"g": 44,
"b": 168
},
"hsl": {
"h": 271.452,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.45172,
"c": 0.18726,
"h": 303.5
},
"luminance": 0.0788
}Semantic roles & 50–950 ramp
primary
#6D2CA8
secondary
#96C26E
accent
#E24690
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82