#5E577F#5E577F

#5E577F is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.0% C 0.064 H 291.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5E577F
RGBrgb(94, 87, 127)
HSLhsl(251, 19%, 42%)
HSVhsv(251, 31%, 50%)
CMYKcmyk(26%, 31.5%, 0%, 50.2%)
CIE-LABlab(39.12, 12.23, -21.47)
CIE-LCHlch(39.12, 24.71, 299.67°)
OKLaboklab(47.99% 0.0238 -0.0594)
OKLCHoklch(47.99% 0.064 291.8)
XYZxyz(11.8541, 10.7282, 21.5208)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E577F #787F57
analogous
#57647F #5E577F #72577F
triadic
#5E577F #7F5E57 #577F5E
tetradic
#5E577F #7F5764 #787F57 #577F72
square
#5E577F #7F5764 #787F57 #577F72
split-complementary
#5E577F #7F7257 #647F57
monochromatic
#282536 #433E5B #5E577F #7B74A0 #9E98B8

Accessibility & contrast

On white

6.68
#5E577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5E577F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E577F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E577F#FFFFFF#000000##FFFFFF
##5E577F1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#575E65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e577f;
/* rgb */ color: rgb(94, 87, 127);
/* oklch */ color: oklch(48.0% 0.064 291.8);
Tailwind
colors: {
  custom: {
    50: '#8c86a4',
    500: '#5e577f',
    950: '#000000',
  },
}
SCSS
$custom: #5e577f;
$custom-light: #8c86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e577f",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 250.5,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.06398,
    "h": 291.8
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#5E577F
secondary
#A2A68C
accent
#BB6CAE
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5E577F

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

Preview Lab → · Contrast checker → · Palette generator →

#5E577F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva