#6D2CA0#6D2CA0
#6D2CA0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.179 H 305.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2CA0 |
|---|---|
| RGB | rgb(109, 44, 160) |
| HSL | hsl(274, 57%, 40%) |
| HSV | hsv(274, 73%, 63%) |
| CMYK | cmyk(31.9%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(33.12, 49.50, -51.01) |
| CIE-LCH | lch(33.12, 71.08, 314.14°) |
| OKLab | oklab(44.54% 0.1048 -0.1449) |
| OKLCH | oklch(44.54% 0.179 305.9) |
| XYZ | xyz(13.5511, 7.5908, 34.0022) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.09
Purple (survey)
#7E1E9C
ΔE00 3.86
Purple Blue
#5D21D0
ΔE00 7.62
Bluey Purple
#6241C7
ΔE00 8.17
Darkmagenta
#8B008B
ΔE00 8.37
Violet Blue
#510AC9
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2CA0 #5FA02C
analogous
#332CA0 #6D2CA0 #A02C99
triadic
#6D2CA0 #A06D2C #2CA06D
tetradic
#6D2CA0 #A0332C #5FA02C #2C99A0
square
#6D2CA0 #A0332C #5FA02C #2C99A0
split-complementary
#6D2CA0 #99A02C #2CA033
monochromatic
#2C1240 #4C1F70 #6D2CA0 #8D3FCA #AA6FD7
Accessibility & contrast
On white
8.34
#6D2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#6D2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2CA0
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2CA0 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#644763
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6d2ca0; /* rgb */ color: rgb(109, 44, 160); /* oklch */ color: oklch(44.5% 0.179 305.9);
Tailwind
colors: {
custom: {
50: '#9b6bbd',
500: '#6d2ca0',
950: '#000000',
},
}SCSS
$custom: #6d2ca0; $custom-light: #9b6bbd; $custom-dark: #000000;
JSON
{
"hex": "#6d2ca0",
"rgb": {
"r": 109,
"g": 44,
"b": 160
},
"hsl": {
"h": 273.621,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.44543,
"c": 0.17885,
"h": 305.9
},
"luminance": 0.07591
}Semantic roles & 50–950 ramp
primary
#6D2CA0
secondary
#8FBF69
accent
#E0488B
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81