#6A269A#6A269A
#6A269A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.179 H 307.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6A269A |
|---|---|
| RGB | rgb(106, 38, 154) |
| HSL | hsl(275, 60%, 38%) |
| HSV | hsv(275, 75%, 60%) |
| CMYK | cmyk(31.2%, 75.3%, 0%, 39.6%) |
| CIE-LAB | lab(31.31, 50.14, -50.31) |
| CIE-LCH | lch(31.31, 71.03, 314.90°) |
| OKLab | oklab(43.03% 0.1077 -0.1429) |
| OKLCH | oklch(43.03% 0.179 307) |
| XYZ | xyz(12.4685, 6.7836, 31.2181) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.67
Purple (survey)
#7E1E9C
ΔE00 3.79
Purple
#800080
ΔE00 7.87
Darkmagenta
#8B008B
ΔE00 7.93
Indigo
#4B0082
ΔE00 8.05
Purple Blue
#5D21D0
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A269A #569A26
analogous
#30269A #6A269A #9A2690
triadic
#6A269A #9A6A26 #269A6A
tetradic
#6A269A #9A3026 #569A26 #26909A
square
#6A269A #9A3026 #569A26 #26909A
split-complementary
#6A269A #909A26 #269A30
monochromatic
#260E38 #481A69 #6A269A #8C32CB #A762D8
Accessibility & contrast
On white
8.91
#6A269A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6A269A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A269A
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A269A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A269A | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a269a; /* rgb */ color: rgb(106, 38, 154); /* oklch */ color: oklch(43.0% 0.179 307.0);
Tailwind
colors: {
custom: {
50: '#9967b9',
500: '#6a269a',
950: '#000000',
},
}SCSS
$custom: #6a269a; $custom-light: #9967b9; $custom-dark: #000000;
JSON
{
"hex": "#6a269a",
"rgb": {
"r": 106,
"g": 38,
"b": 154
},
"hsl": {
"h": 275.172,
"s": 60.417,
"l": 37.647
},
"oklch": {
"l": 0.43031,
"c": 0.17897,
"h": 307
},
"luminance": 0.06783
}Semantic roles & 50–950 ramp
primary
#6A269A
secondary
#86BE5E
accent
#E44486
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80