#6D27B1#6D27B1
#6D27B1 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.202 H 301.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6D27B1 |
|---|---|
| RGB | rgb(109, 39, 177) |
| HSL | hsl(270, 64%, 42%) |
| HSV | hsv(270, 78%, 69%) |
| CMYK | cmyk(38.4%, 78%, 0%, 30.6%) |
| CIE-LAB | lab(33.72, 55.67, -60.22) |
| CIE-LCH | lch(33.72, 82.01, 312.75°) |
| OKLab | oklab(45.4% 0.1057 -0.172) |
| OKLCH | oklch(45.4% 0.202 301.6) |
| XYZ | xyz(14.9661, 7.8765, 42.3183) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.30
Purple Blue
#5D21D0
ΔE00 5.00
Purple (survey)
#7E1E9C
ΔE00 5.29
Violet Blue
#510AC9
ΔE00 6.19
Blurple
#5539CC
ΔE00 6.67
Bluey Purple
#6241C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D27B1 #6BB127
analogous
#2827B1 #6D27B1 #B127B0
triadic
#6D27B1 #B16D27 #27B16D
tetradic
#6D27B1 #B12827 #6BB127 #27B0B1
square
#6D27B1 #B12827 #6BB127 #27B0B1
split-complementary
#6D27B1 #B0B127 #27B128
monochromatic
#2F114D #4E1C7F #6D27B1 #8C40D5 #AA72E0
Accessibility & contrast
On white
8.15
#6D27B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6D27B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D27B1
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D27B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D27B1 | 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)
#004EB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5E4C6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6d27b1; /* rgb */ color: rgb(109, 39, 177); /* oklch */ color: oklch(45.4% 0.202 301.6);
Tailwind
colors: {
custom: {
50: '#9d69c9',
500: '#6d27b1',
950: '#000000',
},
}SCSS
$custom: #6d27b1; $custom-light: #9d69c9; $custom-dark: #000000;
JSON
{
"hex": "#6d27b1",
"rgb": {
"r": 109,
"g": 39,
"b": 177
},
"hsl": {
"h": 270.435,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.45395,
"c": 0.20187,
"h": 301.6
},
"luminance": 0.07877
}Semantic roles & 50–950 ramp
primary
#6D27B1
secondary
#99C76D
accent
#E74193
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82