#6C2AB1#6C2AB1
#6C2AB1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.199 H 300.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2AB1 |
|---|---|
| RGB | rgb(108, 42, 177) |
| HSL | hsl(269, 62%, 43%) |
| HSV | hsv(269, 76%, 69%) |
| CMYK | cmyk(39%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.02, 54.27, -59.74) |
| CIE-LCH | lch(34.02, 80.71, 312.25°) |
| OKLab | oklab(45.57% 0.1017 -0.1706) |
| OKLCH | oklch(45.57% 0.199 300.8) |
| XYZ | xyz(14.9462, 8.0183, 42.3467) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.10
Purple Blue
#5D21D0
ΔE00 4.98
Purple (survey)
#7E1E9C
ΔE00 5.54
Bluey Purple
#6241C7
ΔE00 6.30
Violet Blue
#510AC9
ΔE00 6.34
Blurple
#5539CC
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2AB1 #6FB12A
analogous
#2A2CB1 #6C2AB1 #AF2AB1
triadic
#6C2AB1 #B16C2A #2AB16C
tetradic
#6C2AB1 #B12A2C #6FB12A #2AB1AF
square
#6C2AB1 #B12A2C #6FB12A #2AB1AF
split-complementary
#6C2AB1 #B1AF2A #2CB12A
monochromatic
#30134E #4E1E80 #6C2AB1 #8B45D3 #AA77DF
Accessibility & contrast
On white
8.07
#6C2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6C2AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2AB1
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2AB1 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5C4D6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6c2ab1; /* rgb */ color: rgb(108, 42, 177); /* oklch */ color: oklch(45.6% 0.199 300.8);
Tailwind
colors: {
custom: {
50: '#9c6bc9',
500: '#6c2ab1',
950: '#000000',
},
}SCSS
$custom: #6c2ab1; $custom-light: #9c6bc9; $custom-dark: #000000;
JSON
{
"hex": "#6c2ab1",
"rgb": {
"r": 108,
"g": 42,
"b": 177
},
"hsl": {
"h": 269.333,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.45574,
"c": 0.19865,
"h": 300.8
},
"luminance": 0.08018
}Semantic roles & 50–950 ramp
primary
#6C2AB1
secondary
#9CC670
accent
#E54396
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82