#6A289B#6A289B
#6A289B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.178 H 306.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6A289B |
|---|---|
| RGB | rgb(106, 40, 155) |
| HSL | hsl(274, 59%, 38%) |
| HSV | hsv(274, 74%, 61%) |
| CMYK | cmyk(31.6%, 74.2%, 0%, 39.2%) |
| CIE-LAB | lab(31.69, 49.51, -50.31) |
| CIE-LCH | lch(31.69, 70.58, 314.54°) |
| OKLab | oklab(43.32% 0.1055 -0.1429) |
| OKLCH | oklch(43.32% 0.178 306.4) |
| XYZ | xyz(12.6178, 6.9484, 31.6805) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.34
Purple (survey)
#7E1E9C
ΔE00 3.88
Purple Blue
#5D21D0
ΔE00 8.05
Darkmagenta
#8B008B
ΔE00 8.12
Purple
#800080
ΔE00 8.12
Indigo
#4B0082
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A289B #599B28
analogous
#31289B #6A289B #9B2892
triadic
#6A289B #9B6A28 #289B6A
tetradic
#6A289B #9B3128 #599B28 #28929B
square
#6A289B #9B3128 #599B28 #28929B
split-complementary
#6A289B #929B28 #289B31
monochromatic
#270F3A #491B6A #6A289B #8B35CB #A766D7
Accessibility & contrast
On white
8.79
#6A289B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#6A289B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A289B
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A289B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A289B | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a289b; /* rgb */ color: rgb(106, 40, 155); /* oklch */ color: oklch(43.3% 0.178 306.4);
Tailwind
colors: {
custom: {
50: '#9968b9',
500: '#6a289b',
950: '#000000',
},
}SCSS
$custom: #6a289b; $custom-light: #9968b9; $custom-dark: #000000;
JSON
{
"hex": "#6a289b",
"rgb": {
"r": 106,
"g": 40,
"b": 155
},
"hsl": {
"h": 274.435,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.43324,
"c": 0.17768,
"h": 306.4
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#6A289B
secondary
#89BD61
accent
#E24688
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81