#6A269C#6A269C
#6A269C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.181 H 306.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A269C |
|---|---|
| RGB | rgb(106, 38, 156) |
| HSL | hsl(275, 61%, 38%) |
| HSV | hsv(275, 76%, 61%) |
| CMYK | cmyk(32.1%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(31.46, 50.60, -51.28) |
| CIE-LCH | lch(31.46, 72.04, 314.62°) |
| OKLab | oklab(43.19% 0.1073 -0.1458) |
| OKLCH | oklch(43.19% 0.181 306.4) |
| XYZ | xyz(12.6364, 6.8508, 32.1027) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.68
Purple (survey)
#7E1E9C
ΔE00 3.87
Purple Blue
#5D21D0
ΔE00 7.86
Purple
#800080
ΔE00 8.11
Darkmagenta
#8B008B
ΔE00 8.12
Violet Blue
#510AC9
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A269C #589C26
analogous
#2F269C #6A269C #9C2693
triadic
#6A269C #9C6A26 #269C6A
tetradic
#6A269C #9C2F26 #589C26 #26939C
square
#6A269C #9C2F26 #589C26 #26939C
split-complementary
#6A269C #939C26 #269C2F
monochromatic
#270E3A #491A6B #6A269C #8B32CD #A763D9
Accessibility & contrast
On white
8.86
#6A269C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6A269C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A269C
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A269C | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a269c; /* rgb */ color: rgb(106, 38, 156); /* oklch */ color: oklch(43.2% 0.181 306.4);
Tailwind
colors: {
custom: {
50: '#9968ba',
500: '#6a269c',
950: '#000000',
},
}SCSS
$custom: #6a269c; $custom-light: #9968ba; $custom-dark: #000000;
JSON
{
"hex": "#6a269c",
"rgb": {
"r": 106,
"g": 38,
"b": 156
},
"hsl": {
"h": 274.576,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.43189,
"c": 0.18101,
"h": 306.4
},
"luminance": 0.06851
}Semantic roles & 50–950 ramp
primary
#6A269C
secondary
#88BF5F
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81