#6C279B#6C279B
#6C279B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 307.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6C279B |
|---|---|
| RGB | rgb(108, 39, 155) |
| HSL | hsl(276, 60%, 38%) |
| HSV | hsv(276, 75%, 61%) |
| CMYK | cmyk(30.3%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(31.82, 50.33, -50.08) |
| CIE-LCH | lch(31.82, 71.00, 315.14°) |
| OKLab | oklab(43.48% 0.1093 -0.1422) |
| OKLCH | oklch(43.48% 0.179 307.6) |
| XYZ | xyz(12.8250, 7.0059, 31.6806) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.60
Purple (survey)
#7E1E9C
ΔE00 3.48
Darkmagenta
#8B008B
ΔE00 7.73
Purple
#800080
ΔE00 7.78
Purple Blue
#5D21D0
ΔE00 8.21
Indigo
#4B0082
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C279B #569B27
analogous
#32279B #6C279B #9B2790
triadic
#6C279B #9B6C27 #279B6C
tetradic
#6C279B #9B3227 #569B27 #27909B
square
#6C279B #9B3227 #569B27 #27909B
split-complementary
#6C279B #909B27 #279B32
monochromatic
#280E39 #4A1B6A #6C279B #8E33CC #A964D8
Accessibility & contrast
On white
8.75
#6C279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#6C279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C279B
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C279B | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#64435F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6c279b; /* rgb */ color: rgb(108, 39, 155); /* oklch */ color: oklch(43.5% 0.179 307.6);
Tailwind
colors: {
custom: {
50: '#9b68b9',
500: '#6c279b',
950: '#000000',
},
}SCSS
$custom: #6c279b; $custom-light: #9b68b9; $custom-dark: #000000;
JSON
{
"hex": "#6c279b",
"rgb": {
"r": 108,
"g": 39,
"b": 155
},
"hsl": {
"h": 275.69,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.43476,
"c": 0.17938,
"h": 307.6
},
"luminance": 0.07006
}Semantic roles & 50–950 ramp
primary
#6C279B
secondary
#86BE60
accent
#E34585
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81