#6A259C#6A259C
#6A259C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.182 H 306.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6A259C |
|---|---|
| RGB | rgb(106, 37, 156) |
| HSL | hsl(275, 62%, 38%) |
| HSV | hsv(275, 76%, 61%) |
| CMYK | cmyk(32.1%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.32, 51.02, -51.52) |
| CIE-LCH | lch(31.32, 72.50, 314.72°) |
| OKLab | oklab(43.09% 0.1082 -0.1465) |
| OKLCH | oklch(43.09% 0.182 306.5) |
| XYZ | xyz(12.6049, 6.7877, 32.0922) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.85
Purple (survey)
#7E1E9C
ΔE00 3.86
Purple Blue
#5D21D0
ΔE00 7.85
Indigo
#4B0082
ΔE00 8.03
Purple
#800080
ΔE00 8.05
Violet Blue
#510AC9
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A259C #579C25
analogous
#2F259C #6A259C #9C2592
triadic
#6A259C #9C6A25 #259C6A
tetradic
#6A259C #9C2F25 #579C25 #25929C
square
#6A259C #9C2F25 #579C25 #25929C
split-complementary
#6A259C #929C25 #259C2F
monochromatic
#270E39 #48196B #6A259C #8C31CD #A762DA
Accessibility & contrast
On white
8.91
#6A259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6A259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A259C
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A259C | 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)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#61425F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a259c; /* rgb */ color: rgb(106, 37, 156); /* oklch */ color: oklch(43.1% 0.182 306.5);
Tailwind
colors: {
custom: {
50: '#9a67ba',
500: '#6a259c',
950: '#000000',
},
}SCSS
$custom: #6a259c; $custom-light: #9a67ba; $custom-dark: #000000;
JSON
{
"hex": "#6a259c",
"rgb": {
"r": 106,
"g": 37,
"b": 156
},
"hsl": {
"h": 274.79,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.43086,
"c": 0.18213,
"h": 306.5
},
"luminance": 0.06788
}Semantic roles & 50–950 ramp
primary
#6A259C
secondary
#87BF5E
accent
#E54387
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81