#6C27AF#6C27AF
#6C27AF is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.200 H 301.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6C27AF |
|---|---|
| RGB | rgb(108, 39, 175) |
| HSL | hsl(270, 64%, 42%) |
| HSV | hsv(270, 78%, 69%) |
| CMYK | cmyk(38.3%, 77.7%, 0%, 31.4%) |
| CIE-LAB | lab(33.42, 55.03, -59.53) |
| CIE-LCH | lch(33.42, 81.06, 312.75°) |
| OKLab | oklab(45.1% 0.1048 -0.17) |
| OKLCH | oklch(45.1% 0.2 301.7) |
| XYZ | xyz(14.6458, 7.7343, 41.2704) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.07
Purple Blue
#5D21D0
ΔE00 5.17
Purple (survey)
#7E1E9C
ΔE00 5.20
Violet Blue
#510AC9
ΔE00 6.22
Blurple
#5539CC
ΔE00 6.81
Bluey Purple
#6241C7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C27AF #6AAF27
analogous
#2827AF #6C27AF #AF27AE
triadic
#6C27AF #AF6C27 #27AF6C
tetradic
#6C27AF #AF2827 #6AAF27 #27AEAF
square
#6C27AF #AF2827 #6AAF27 #27AEAF
split-complementary
#6C27AF #AEAF27 #27AF28
monochromatic
#2E114B #4D1C7D #6C27AF #8B3FD4 #A971DF
Accessibility & contrast
On white
8.25
#6C27AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#6C27AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C27AF
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C27AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C27AF | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5D4B6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6c27af; /* rgb */ color: rgb(108, 39, 175); /* oklch */ color: oklch(45.1% 0.200 301.7);
Tailwind
colors: {
custom: {
50: '#9c69c8',
500: '#6c27af',
950: '#000000',
},
}SCSS
$custom: #6c27af; $custom-light: #9c69c8; $custom-dark: #000000;
JSON
{
"hex": "#6c27af",
"rgb": {
"r": 108,
"g": 39,
"b": 175
},
"hsl": {
"h": 270.441,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.45104,
"c": 0.19968,
"h": 301.7
},
"luminance": 0.07734
}Semantic roles & 50–950 ramp
primary
#6C27AF
secondary
#98C66B
accent
#E74193
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82