#6A269D#6A269D
#6A269D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.182 H 306.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6A269D |
|---|---|
| RGB | rgb(106, 38, 157) |
| HSL | hsl(274, 61%, 38%) |
| HSV | hsv(274, 76%, 62%) |
| CMYK | cmyk(32.5%, 75.8%, 0%, 38.4%) |
| CIE-LAB | lab(31.54, 50.83, -51.76) |
| CIE-LCH | lch(31.54, 72.55, 314.48°) |
| OKLab | oklab(43.27% 0.1071 -0.1472) |
| OKLCH | oklch(43.27% 0.182 306) |
| XYZ | xyz(12.7214, 6.8848, 32.5505) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.70
Purple (survey)
#7E1E9C
ΔE00 3.93
Purple Blue
#5D21D0
ΔE00 7.70
Violet Blue
#510AC9
ΔE00 7.98
Indigo
#4B0082
ΔE00 8.19
Darkmagenta
#8B008B
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A269D #599D26
analogous
#2E269D #6A269D #9D2694
triadic
#6A269D #9D6A26 #269D6A
tetradic
#6A269D #9D2E26 #599D26 #26949D
square
#6A269D #9D2E26 #599D26 #26949D
split-complementary
#6A269D #949D26 #269D2E
monochromatic
#270E3A #491A6C #6A269D #8B33CE #A764D9
Accessibility & contrast
On white
8.83
#6A269D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6A269D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A269D
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A269D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A269D | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a269d; /* rgb */ color: rgb(106, 38, 157); /* oklch */ color: oklch(43.3% 0.182 306.0);
Tailwind
colors: {
custom: {
50: '#9a68bb',
500: '#6a269d',
950: '#000000',
},
}SCSS
$custom: #6a269d; $custom-light: #9a68bb; $custom-dark: #000000;
JSON
{
"hex": "#6a269d",
"rgb": {
"r": 106,
"g": 38,
"b": 157
},
"hsl": {
"h": 274.286,
"s": 61.026,
"l": 38.235
},
"oklch": {
"l": 0.43269,
"c": 0.18203,
"h": 306
},
"luminance": 0.06885
}Semantic roles & 50–950 ramp
primary
#6A269D
secondary
#89BF60
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81