#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
RGBrgb(96, 81, 129)
HSLhsl(259, 23%, 41%)
HSVhsv(259, 37%, 51%)
CMYKcmyk(25.6%, 37.2%, 0%, 49.4%)
CIE-LABlab(37.76, 17.18, -24.78)
CIE-LCHlch(37.76, 30.16, 304.73°)
OKLaboklab(47.03% 0.0362 -0.0688)
OKLCHoklch(47.03% 0.078 297.7)
XYZxyz(11.7278, 9.9565, 22.0686)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##6051811.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.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

Preview Lab

Preview with #605181

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#605181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva