#6A169F#6A169F
#6A169F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.1% C 0.199 H 306.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6A169F |
|---|---|
| RGB | rgb(106, 22, 159) |
| HSL | hsl(277, 76%, 35%) |
| HSV | hsv(277, 86%, 62%) |
| CMYK | cmyk(33.3%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.77, 56.92, -55.87) |
| CIE-LCH | lch(29.77, 79.76, 315.53°) |
| OKLab | oklab(42.08% 0.1191 -0.1592) |
| OKLCH | oklch(42.08% 0.199 306.8) |
| XYZ | xyz(12.4874, 6.1413, 33.3217) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.38
Rebeccapurple
#663399
ΔE00 4.85
Indigo
#4B0082
ΔE00 6.96
Violet Blue
#510AC9
ΔE00 7.10
Purple Blue
#5D21D0
ΔE00 7.58
Indigo Blue
#3A18B1
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A169F #4B9F16
analogous
#25169F #6A169F #9F1690
triadic
#6A169F #9F6A16 #169F6A
tetradic
#6A169F #9F2516 #4B9F16 #16909F
square
#6A169F #9F2516 #4B9F16 #16909F
split-complementary
#6A169F #909F16 #169F25
monochromatic
#220733 #460F69 #6A169F #8E1DD5 #A94AE6
Accessibility & contrast
On white
9.42
#6A169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6A169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A169F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A169F | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#613D5E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a169f; /* rgb */ color: rgb(106, 22, 159); /* oklch */ color: oklch(42.1% 0.199 306.8);
Tailwind
colors: {
custom: {
50: '#9a61bc',
500: '#6a169f',
950: '#000000',
},
}SCSS
$custom: #6a169f; $custom-light: #9a61bc; $custom-dark: #000000;
JSON
{
"hex": "#6a169f",
"rgb": {
"r": 106,
"g": 22,
"b": 159
},
"hsl": {
"h": 276.788,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.4208,
"c": 0.1988,
"h": 306.8
},
"luminance": 0.06141
}Semantic roles & 50–950 ramp
primary
#6A169F
secondary
#7AC74A
accent
#F2367F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81