#6A259A#6A259A
#6A259A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.180 H 307.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6A259A |
|---|---|
| RGB | rgb(106, 37, 154) |
| HSL | hsl(275, 61%, 37%) |
| HSV | hsv(275, 76%, 60%) |
| CMYK | cmyk(31.2%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(31.16, 50.56, -50.55) |
| CIE-LCH | lch(31.16, 71.49, 315.00°) |
| OKLab | oklab(42.93% 0.1087 -0.1436) |
| OKLCH | oklch(42.93% 0.18 307.1) |
| XYZ | xyz(12.4369, 6.7206, 31.2076) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.84
Purple (survey)
#7E1E9C
ΔE00 3.77
Purple
#800080
ΔE00 7.81
Darkmagenta
#8B008B
ΔE00 7.89
Indigo
#4B0082
ΔE00 7.93
Purple Blue
#5D21D0
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A259A #559A25
analogous
#30259A #6A259A #9A258F
triadic
#6A259A #9A6A25 #259A6A
tetradic
#6A259A #9A3025 #559A25 #258F9A
square
#6A259A #9A3025 #559A25 #258F9A
split-complementary
#6A259A #8F9A25 #259A30
monochromatic
#260D37 #481969 #6A259A #8C31CB #A860D9
Accessibility & contrast
On white
8.96
#6A259A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6A259A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A259A
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A259A | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62415E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a259a; /* rgb */ color: rgb(106, 37, 154); /* oklch */ color: oklch(42.9% 0.180 307.1);
Tailwind
colors: {
custom: {
50: '#9967b9',
500: '#6a259a',
950: '#000000',
},
}SCSS
$custom: #6a259a; $custom-light: #9967b9; $custom-dark: #000000;
JSON
{
"hex": "#6a259a",
"rgb": {
"r": 106,
"g": 37,
"b": 154
},
"hsl": {
"h": 275.385,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.42927,
"c": 0.1801,
"h": 307.1
},
"luminance": 0.0672
}Semantic roles & 50–950 ramp
primary
#6A259A
secondary
#85BE5D
accent
#E44385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80