#6D27B3#6D27B3
#6D27B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.204 H 301.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6D27B3 |
|---|---|
| RGB | rgb(109, 39, 179) |
| HSL | hsl(270, 64%, 43%) |
| HSV | hsv(270, 78%, 70%) |
| CMYK | cmyk(39.1%, 78.2%, 0%, 29.8%) |
| CIE-LAB | lab(33.89, 56.14, -61.14) |
| CIE-LCH | lch(33.89, 83.01, 312.56°) |
| OKLab | oklab(45.57% 0.1052 -0.1747) |
| OKLCH | oklch(45.57% 0.204 301.1) |
| XYZ | xyz(15.1669, 7.9568, 43.3758) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.53
Purple Blue
#5D21D0
ΔE00 4.74
Purple (survey)
#7E1E9C
ΔE00 5.52
Violet Blue
#510AC9
ΔE00 6.03
Blurple
#5539CC
ΔE00 6.45
Bluey Purple
#6241C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D27B3 #6DB327
analogous
#2727B3 #6D27B3 #B327B3
triadic
#6D27B3 #B36D27 #27B36D
tetradic
#6D27B3 #B32727 #6DB327 #27B3B3
square
#6D27B3 #B32727 #6DB327 #27B3B3
split-complementary
#6D27B3 #B3B327 #27B327
monochromatic
#30114E #4E1C81 #6D27B3 #8C41D6 #AA74E1
Accessibility & contrast
On white
8.10
#6D27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6D27B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D27B3
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D27B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D27B3 | 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)
#5D4D6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6d27b3; /* rgb */ color: rgb(109, 39, 179); /* oklch */ color: oklch(45.6% 0.204 301.1);
Tailwind
colors: {
custom: {
50: '#9d69cb',
500: '#6d27b3',
950: '#000000',
},
}SCSS
$custom: #6d27b3; $custom-light: #9d69cb; $custom-dark: #000000;
JSON
{
"hex": "#6d27b3",
"rgb": {
"r": 109,
"g": 39,
"b": 179
},
"hsl": {
"h": 270,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.45565,
"c": 0.20389,
"h": 301.1
},
"luminance": 0.07957
}Semantic roles & 50–950 ramp
primary
#6D27B3
secondary
#9BC86E
accent
#E74194
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82