#6A189F#6A189F
#6A189F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.197 H 306.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6A189F |
|---|---|
| RGB | rgb(106, 24, 159) |
| HSL | hsl(276, 74%, 36%) |
| HSV | hsv(276, 85%, 62%) |
| CMYK | cmyk(33.3%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.96, 56.34, -55.55) |
| CIE-LCH | lch(29.96, 79.12, 315.40°) |
| OKLab | oklab(42.22% 0.1178 -0.1582) |
| OKLCH | oklch(42.22% 0.197 306.7) |
| XYZ | xyz(12.5271, 6.2208, 33.3350) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.29
Rebeccapurple
#663399
ΔE00 4.64
Indigo
#4B0082
ΔE00 7.08
Violet Blue
#510AC9
ΔE00 7.14
Purple Blue
#5D21D0
ΔE00 7.53
Indigo Blue
#3A18B1
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A189F #4D9F18
analogous
#26189F #6A189F #9F1890
triadic
#6A189F #9F6A18 #189F6A
tetradic
#6A189F #9F2618 #4D9F18 #18909F
square
#6A189F #9F2618 #4D9F18 #18909F
split-complementary
#6A189F #909F18 #189F26
monochromatic
#230835 #47106A #6A189F #8D20D4 #A94DE4
Accessibility & contrast
On white
9.36
#6A189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6A189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A189F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A189F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#613E5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6a189f; /* rgb */ color: rgb(106, 24, 159); /* oklch */ color: oklch(42.2% 0.197 306.7);
Tailwind
colors: {
custom: {
50: '#9a62bc',
500: '#6a189f',
950: '#000000',
},
}SCSS
$custom: #6a189f; $custom-light: #9a62bc; $custom-dark: #000000;
JSON
{
"hex": "#6a189f",
"rgb": {
"r": 106,
"g": 24,
"b": 159
},
"hsl": {
"h": 276.444,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.42216,
"c": 0.19729,
"h": 306.7
},
"luminance": 0.06221
}Semantic roles & 50–950 ramp
primary
#6A189F
secondary
#7CC64D
accent
#F03780
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81