#6C28B3#6C28B3
#6C28B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.203 H 300.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6C28B3 |
|---|---|
| RGB | rgb(108, 40, 179) |
| HSL | hsl(269, 63%, 43%) |
| HSV | hsv(269, 78%, 70%) |
| CMYK | cmyk(39.7%, 77.7%, 0%, 29.8%) |
| CIE-LAB | lab(33.90, 55.58, -61.13) |
| CIE-LCH | lch(33.90, 82.62, 312.28°) |
| OKLab | oklab(45.54% 0.1029 -0.1747) |
| OKLCH | oklch(45.54% 0.203 300.5) |
| XYZ | xyz(15.0778, 7.9603, 43.3812) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.47
Purple Blue
#5D21D0
ΔE00 4.66
Purple (survey)
#7E1E9C
ΔE00 5.68
Violet Blue
#510AC9
ΔE00 5.99
Blurple
#5539CC
ΔE00 6.27
Bluey Purple
#6241C7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C28B3 #6FB328
analogous
#2829B3 #6C28B3 #B228B3
triadic
#6C28B3 #B36C28 #28B36C
tetradic
#6C28B3 #B32829 #6FB328 #28B3B2
square
#6C28B3 #B32829 #6FB328 #28B3B2
split-complementary
#6C28B3 #B3B228 #29B328
monochromatic
#30124F #4E1D81 #6C28B3 #8B43D5 #AA75E0
Accessibility & contrast
On white
8.10
#6C28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6C28B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C28B3
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C28B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C28B3 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5C4D6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6c28b3; /* rgb */ color: rgb(108, 40, 179); /* oklch */ color: oklch(45.5% 0.203 300.5);
Tailwind
colors: {
custom: {
50: '#9d6acb',
500: '#6c28b3',
950: '#000000',
},
}SCSS
$custom: #6c28b3; $custom-light: #9d6acb; $custom-dark: #000000;
JSON
{
"hex": "#6c28b3",
"rgb": {
"r": 108,
"g": 40,
"b": 179
},
"hsl": {
"h": 269.353,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.45541,
"c": 0.20275,
"h": 300.5
},
"luminance": 0.0796
}Semantic roles & 50–950 ramp
primary
#6C28B3
secondary
#9CC86F
accent
#E64196
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82