#6A279A#6A279A
#6A279A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.178 H 306.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A279A |
|---|---|
| RGB | rgb(106, 39, 154) |
| HSL | hsl(275, 60%, 38%) |
| HSV | hsv(275, 75%, 60%) |
| CMYK | cmyk(31.2%, 74.7%, 0%, 39.6%) |
| CIE-LAB | lab(31.46, 49.71, -50.07) |
| CIE-LCH | lch(31.46, 70.55, 314.79°) |
| OKLab | oklab(43.14% 0.1067 -0.1422) |
| OKLCH | oklch(43.14% 0.178 306.9) |
| XYZ | xyz(12.5009, 6.8484, 31.2289) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.51
Purple (survey)
#7E1E9C
ΔE00 3.81
Purple
#800080
ΔE00 7.93
Darkmagenta
#8B008B
ΔE00 7.98
Indigo
#4B0082
ΔE00 8.18
Purple Blue
#5D21D0
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A279A #579A27
analogous
#31279A #6A279A #9A2790
triadic
#6A279A #9A6A27 #279A6A
tetradic
#6A279A #9A3127 #579A27 #27909A
square
#6A279A #9A3127 #579A27 #27909A
split-complementary
#6A279A #909A27 #279A31
monochromatic
#270E38 #481B69 #6A279A #8C33CB #A764D8
Accessibility & contrast
On white
8.86
#6A279A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6A279A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A279A
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A279A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A279A | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a279a; /* rgb */ color: rgb(106, 39, 154); /* oklch */ color: oklch(43.1% 0.178 306.9);
Tailwind
colors: {
custom: {
50: '#9968b9',
500: '#6a279a',
950: '#000000',
},
}SCSS
$custom: #6a279a; $custom-light: #9968b9; $custom-dark: #000000;
JSON
{
"hex": "#6a279a",
"rgb": {
"r": 106,
"g": 39,
"b": 154
},
"hsl": {
"h": 274.957,
"s": 59.585,
"l": 37.843
},
"oklch": {
"l": 0.43137,
"c": 0.17782,
"h": 306.9
},
"luminance": 0.06848
}Semantic roles & 50–950 ramp
primary
#6A279A
secondary
#87BD5F
accent
#E34587
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80