#6C279A#6C279A
#6C279A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.178 H 307.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6C279A |
|---|---|
| RGB | rgb(108, 39, 154) |
| HSL | hsl(276, 60%, 38%) |
| HSV | hsv(276, 75%, 60%) |
| CMYK | cmyk(29.9%, 74.7%, 0%, 39.6%) |
| CIE-LAB | lab(31.74, 50.10, -49.59) |
| CIE-LCH | lch(31.74, 70.50, 315.29°) |
| OKLab | oklab(43.4% 0.1095 -0.1408) |
| OKLCH | oklch(43.4% 0.178 307.9) |
| XYZ | xyz(12.7414, 6.9725, 31.2402) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.61
Purple (survey)
#7E1E9C
ΔE00 3.44
Darkmagenta
#8B008B
ΔE00 7.64
Purple
#800080
ΔE00 7.66
Purple Blue
#5D21D0
ΔE00 8.37
Indigo
#4B0082
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C279A #559A27
analogous
#33279A #6C279A #9A278E
triadic
#6C279A #9A6C27 #279A6C
tetradic
#6C279A #9A3327 #559A27 #278E9A
square
#6C279A #9A3327 #559A27 #278E9A
split-complementary
#6C279A #8E9A27 #279A33
monochromatic
#280E38 #4A1B69 #6C279A #8E33CB #A964D8
Accessibility & contrast
On white
8.77
#6C279A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#6C279A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C279A
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C279A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C279A | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#65425E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6c279a; /* rgb */ color: rgb(108, 39, 154); /* oklch */ color: oklch(43.4% 0.178 307.9);
Tailwind
colors: {
custom: {
50: '#9b68b9',
500: '#6c279a',
950: '#000000',
},
}SCSS
$custom: #6c279a; $custom-light: #9b68b9; $custom-dark: #000000;
JSON
{
"hex": "#6c279a",
"rgb": {
"r": 108,
"g": 39,
"b": 154
},
"hsl": {
"h": 276,
"s": 59.585,
"l": 37.843
},
"oklch": {
"l": 0.43398,
"c": 0.17836,
"h": 307.9
},
"luminance": 0.06972
}Semantic roles & 50–950 ramp
primary
#6C279A
secondary
#85BD5F
accent
#E34584
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80