#6A259B#6A259B
#6A259B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.181 H 306.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6A259B |
|---|---|
| RGB | rgb(106, 37, 155) |
| HSL | hsl(275, 61%, 38%) |
| HSV | hsv(275, 76%, 61%) |
| CMYK | cmyk(31.6%, 76.1%, 0%, 39.2%) |
| CIE-LAB | lab(31.24, 50.79, -51.03) |
| CIE-LCH | lch(31.24, 72.00, 314.86°) |
| OKLab | oklab(43.01% 0.1084 -0.1451) |
| OKLCH | oklch(43.01% 0.181 306.8) |
| XYZ | xyz(12.5205, 6.7540, 31.6481) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.84
Purple (survey)
#7E1E9C
ΔE00 3.81
Purple
#800080
ΔE00 7.93
Indigo
#4B0082
ΔE00 7.98
Darkmagenta
#8B008B
ΔE00 7.98
Purple Blue
#5D21D0
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A259B #569B25
analogous
#2F259B #6A259B #9B2591
triadic
#6A259B #9B6A25 #259B6A
tetradic
#6A259B #9B2F25 #569B25 #25919B
square
#6A259B #9B2F25 #569B25 #25919B
split-complementary
#6A259B #919B25 #259B2F
monochromatic
#260D38 #48196A #6A259B #8C31CC #A761D9
Accessibility & contrast
On white
8.93
#6A259B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6A259B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A259B
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A259B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A259B | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a259b; /* rgb */ color: rgb(106, 37, 155); /* oklch */ color: oklch(43.0% 0.181 306.8);
Tailwind
colors: {
custom: {
50: '#9967b9',
500: '#6a259b',
950: '#000000',
},
}SCSS
$custom: #6a259b; $custom-light: #9967b9; $custom-dark: #000000;
JSON
{
"hex": "#6a259b",
"rgb": {
"r": 106,
"g": 37,
"b": 155
},
"hsl": {
"h": 275.085,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.43006,
"c": 0.18111,
"h": 306.8
},
"luminance": 0.06754
}Semantic roles & 50–950 ramp
primary
#6A259B
secondary
#86BF5D
accent
#E54386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81