#6A279C#6A279C
#6A279C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.180 H 306.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6A279C |
|---|---|
| RGB | rgb(106, 39, 156) |
| HSL | hsl(274, 60%, 38%) |
| HSV | hsv(274, 75%, 61%) |
| CMYK | cmyk(32.1%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(31.61, 50.18, -51.04) |
| CIE-LCH | lch(31.61, 71.57, 314.51°) |
| OKLab | oklab(43.3% 0.1063 -0.1451) |
| OKLCH | oklch(43.3% 0.18 306.2) |
| XYZ | xyz(12.6688, 6.9156, 32.1135) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.52
Purple (survey)
#7E1E9C
ΔE00 3.90
Purple Blue
#5D21D0
ΔE00 7.87
Darkmagenta
#8B008B
ΔE00 8.16
Purple
#800080
ΔE00 8.18
Violet Blue
#510AC9
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A279C #599C27
analogous
#2F279C #6A279C #9C2793
triadic
#6A279C #9C6A27 #279C6A
tetradic
#6A279C #9C2F27 #599C27 #27939C
square
#6A279C #9C2F27 #599C27 #27939C
split-complementary
#6A279C #939C27 #279C2F
monochromatic
#270F3A #491B6B #6A279C #8B34CC #A765D8
Accessibility & contrast
On white
8.81
#6A279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6A279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A279C
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A279C | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a279c; /* rgb */ color: rgb(106, 39, 156); /* oklch */ color: oklch(43.3% 0.180 306.2);
Tailwind
colors: {
custom: {
50: '#9968ba',
500: '#6a279c',
950: '#000000',
},
}SCSS
$custom: #6a279c; $custom-light: #9968ba; $custom-dark: #000000;
JSON
{
"hex": "#6a279c",
"rgb": {
"r": 106,
"g": 39,
"b": 156
},
"hsl": {
"h": 274.359,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.43295,
"c": 0.17987,
"h": 306.2
},
"luminance": 0.06916
}Semantic roles & 50–950 ramp
primary
#6A279C
secondary
#89BE61
accent
#E34588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81