#5E5474#5E5474

#5E5474 is a mid, muted violet. Relative luminance 0.100; OKLCH L 46.8% C 0.052 H 298.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5E5474
RGBrgb(94, 84, 116)
HSLhsl(259, 16%, 39%)
HSVhsv(259, 28%, 45%)
CMYKcmyk(19%, 27.6%, 0%, 54.5%)
CIE-LABlab(37.81, 11.27, -16.73)
CIE-LCHlch(37.81, 20.17, 303.97°)
OKLaboklab(46.82% 0.0251 -0.0459)
OKLCHoklch(46.82% 0.052 298.7)
XYZxyz(10.9381, 9.9812, 17.8699)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5474 #6A7454
analogous
#545A74 #5E5474 #6E5474
triadic
#5E5474 #745E54 #54745E
tetradic
#5E5474 #74545A #6A7454 #54746E
square
#5E5474 #74545A #6A7454 #54746E
split-complementary
#5E5474 #746E54 #5A7454
monochromatic
#24212D #413A51 #5E5474 #7B6F97 #9C92B0

Accessibility & contrast

On white

7.01
#5E5474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5E5474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5474
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5474#FFFFFF#000000##FFFFFF
##5E54741.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5975
Deuteranopia (green-blind)
#4F5973
Tritanopia (blue-blind)
#5A595F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5474;
/* rgb */ color: rgb(94, 84, 116);
/* oklch */ color: oklch(46.8% 0.052 298.7);
Tailwind
colors: {
  custom: {
    50: '#8c849c',
    500: '#5e5474',
    950: '#000000',
  },
}
SCSS
$custom: #5e5474;
$custom-light: #8c849c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5474",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 258.75,
    "s": 16,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46821,
    "c": 0.05231,
    "h": 298.7
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#5E5474
secondary
#969E86
accent
#B96FA2
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5E5474

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

Preview Lab → · Contrast checker → · Palette generator →

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