#5E476A#5E476A

#5E476A is a dark, moderate violet. Relative luminance 0.079; OKLCH L 43.6% C 0.063 H 313.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5E476A
RGBrgb(94, 71, 106)
HSLhsl(279, 20%, 35%)
HSVhsv(279, 33%, 42%)
CMYKcmyk(11.3%, 33%, 0%, 58.4%)
CIE-LABlab(33.83, 17.01, -16.60)
CIE-LCHlch(33.83, 23.77, 315.70°)
OKLaboklab(43.63% 0.0434 -0.0454)
OKLCHoklch(43.63% 0.063 313.7)
XYZxyz(9.4704, 7.9269, 14.6640)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E476A #536A47
analogous
#4D476A #5E476A #6A4765
triadic
#5E476A #6A5E47 #476A5E
tetradic
#5E476A #6A4D47 #536A47 #47656A
square
#5E476A #6A4D47 #536A47 #47656A
split-complementary
#5E476A #656A47 #476A4D
monochromatic
#1D1621 #3D2E45 #5E476A #7F608F #9C81AB

Accessibility & contrast

On white

8.12
#5E476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5E476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E476A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E476A#FFFFFF#000000##FFFFFF
##5E476A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424E6B
Deuteranopia (green-blind)
#475069
Tritanopia (blue-blind)
#5D4B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e476a;
/* rgb */ color: rgb(94, 71, 106);
/* oklch */ color: oklch(43.6% 0.063 313.7);
Tailwind
colors: {
  custom: {
    50: '#8c7a94',
    500: '#5e476a',
    950: '#000000',
  },
}
SCSS
$custom: #5e476a;
$custom-light: #8c7a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e476a",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 279.429,
    "s": 19.774,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.06286,
    "h": 313.7
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#5E476A
secondary
#819776
accent
#BC6B87
background
#F8F7F9
surface
#F0EDF1
border
#CBC8CB
text
#0C090D
muted
#7D7B7E

Preview Lab

Preview with #5E476A

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

Preview Lab → · Contrast checker → · Palette generator →

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