#6A279B#6A279B
#6A279B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.179 H 306.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6A279B |
|---|---|
| RGB | rgb(106, 39, 155) |
| HSL | hsl(275, 60%, 38%) |
| HSV | hsv(275, 75%, 61%) |
| CMYK | cmyk(31.6%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(31.54, 49.94, -50.55) |
| CIE-LCH | lch(31.54, 71.06, 314.65°) |
| OKLab | oklab(43.22% 0.1065 -0.1437) |
| OKLCH | oklch(43.22% 0.179 306.6) |
| XYZ | xyz(12.5845, 6.8819, 31.6694) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.51
Purple (survey)
#7E1E9C
ΔE00 3.85
Purple Blue
#5D21D0
ΔE00 8.04
Purple
#800080
ΔE00 8.05
Darkmagenta
#8B008B
ΔE00 8.07
Indigo
#4B0082
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A279B #589B27
analogous
#30279B #6A279B #9B2792
triadic
#6A279B #9B6A27 #279B6A
tetradic
#6A279B #9B3027 #589B27 #27929B
square
#6A279B #9B3027 #589B27 #27929B
split-complementary
#6A279B #929B27 #279B30
monochromatic
#270E39 #491B6A #6A279B #8B33CC #A764D8
Accessibility & contrast
On white
8.84
#6A279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6A279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A279B
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A279B | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a279b; /* rgb */ color: rgb(106, 39, 155); /* oklch */ color: oklch(43.2% 0.179 306.6);
Tailwind
colors: {
custom: {
50: '#9968b9',
500: '#6a279b',
950: '#000000',
},
}SCSS
$custom: #6a279b; $custom-light: #9968b9; $custom-dark: #000000;
JSON
{
"hex": "#6a279b",
"rgb": {
"r": 106,
"g": 39,
"b": 155
},
"hsl": {
"h": 274.655,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.43216,
"c": 0.17884,
"h": 306.6
},
"luminance": 0.06882
}Semantic roles & 50–950 ramp
primary
#6A279B
secondary
#88BE60
accent
#E34588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81