#605181#605181
#605181 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.0% C 0.078 H 297.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #605181 |
|---|---|
| RGB | rgb(96, 81, 129) |
| HSL | hsl(259, 23%, 41%) |
| HSV | hsv(259, 37%, 51%) |
| CMYK | cmyk(25.6%, 37.2%, 0%, 49.4%) |
| CIE-LAB | lab(37.76, 17.18, -24.78) |
| CIE-LCH | lch(37.76, 30.16, 304.73°) |
| OKLab | oklab(47.03% 0.0362 -0.0688) |
| OKLCH | oklch(47.03% 0.078 297.7) |
| XYZ | xyz(11.7278, 9.9565, 22.0686) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 6.12
Twilight
#4E518B
ΔE00 6.26
Muted Purple
#805B87
ΔE00 8.52
Royal Purple
#7851A9
ΔE00 9.14
Darkslateblue
#483D8B
ΔE00 9.39
Dusty Purple
#825F87
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#605181 #728151
analogous
#515A81 #605181 #785181
triadic
#605181 #816051 #518160
tetradic
#605181 #81515A #728151 #518178
square
#605181 #81515A #728151 #518178
split-complementary
#605181 #817851 #5A8151
monochromatic
#282236 #44395B #605181 #7D6CA3 #9F92BA
Accessibility & contrast
On white
7.02
#605181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#605181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #605181
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##605181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##605181 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455983
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#5A5963
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #605181; /* rgb */ color: rgb(96, 81, 129); /* oklch */ color: oklch(47.0% 0.078 297.7);
Tailwind
colors: {
custom: {
50: '#8e82a6',
500: '#605181',
950: '#000000',
},
}SCSS
$custom: #605181; $custom-light: #8e82a6; $custom-dark: #000000;
JSON
{
"hex": "#605181",
"rgb": {
"r": 96,
"g": 81,
"b": 129
},
"hsl": {
"h": 258.75,
"s": 22.857,
"l": 41.176
},
"oklch": {
"l": 0.47025,
"c": 0.07776,
"h": 297.7
},
"luminance": 0.09957
}Semantic roles & 50–950 ramp
primary
#605181
secondary
#9DA886
accent
#BF68A4
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F