#6A139F#6A139F
#6A139F is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.9% C 0.201 H 307.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #6A139F |
|---|---|
| RGB | rgb(106, 19, 159) |
| HSL | hsl(277, 79%, 35%) |
| HSV | hsv(277, 88%, 62%) |
| CMYK | cmyk(33.3%, 88.1%, 0%, 37.6%) |
| CIE-LAB | lab(29.50, 57.71, -56.31) |
| CIE-LCH | lch(29.50, 80.63, 315.70°) |
| OKLab | oklab(41.89% 0.1209 -0.1604) |
| OKLCH | oklch(41.89% 0.201 307) |
| XYZ | xyz(12.4334, 6.0333, 33.3037) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 5.15
Indigo
#4B0082
ΔE00 6.81
Violet Blue
#510AC9
ΔE00 7.07
Purple Blue
#5D21D0
ΔE00 7.66
Indigo Blue
#3A18B1
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A139F #489F13
analogous
#24139F #6A139F #9F138E
triadic
#6A139F #9F6A13 #139F6A
tetradic
#6A139F #9F2413 #489F13 #138E9F
square
#6A139F #9F2413 #489F13 #138E9F
split-complementary
#6A139F #8E9F13 #139F24
monochromatic
#210632 #460C68 #6A139F #8E1AD6 #AA44E9
Accessibility & contrast
On white
9.52
#6A139F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#6A139F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A139F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A139F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A139F | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#613D5D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6a139f; /* rgb */ color: rgb(106, 19, 159); /* oklch */ color: oklch(41.9% 0.201 307.0);
Tailwind
colors: {
custom: {
50: '#9b60bc',
500: '#6a139f',
950: '#000000',
},
}SCSS
$custom: #6a139f; $custom-light: #9b60bc; $custom-dark: #000000;
JSON
{
"hex": "#6a139f",
"rgb": {
"r": 106,
"g": 19,
"b": 159
},
"hsl": {
"h": 277.286,
"s": 78.652,
"l": 34.902
},
"oklch": {
"l": 0.41893,
"c": 0.20087,
"h": 307
},
"luminance": 0.06033
}Semantic roles & 50–950 ramp
primary
#6A139F
secondary
#77C945
accent
#F5337C
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0512
muted
#7F7A81