#5E4062#5E4062

#5E4062 is a dark, moderate purple. Relative luminance 0.069; OKLCH L 41.9% C 0.067 H 322.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#5E4062
RGBrgb(94, 64, 98)
HSLhsl(293, 21%, 32%)
HSVhsv(293, 35%, 38%)
CMYKcmyk(4.1%, 34.7%, 0%, 61.6%)
CIE-LABlab(31.64, 19.57, -14.89)
CIE-LCHlch(31.64, 24.59, 322.74°)
OKLaboklab(41.85% 0.053 -0.0405)
OKLCHoklch(41.85% 0.067 322.6)
XYZxyz(8.6538, 6.9286, 12.4344)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4062 #446240
analogous
#4D4062 #5E4062 #624055
triadic
#5E4062 #625E40 #40625E
tetradic
#5E4062 #624D40 #446240 #405562
square
#5E4062 #624D40 #446240 #405562
split-complementary
#5E4062 #556240 #40624D
monochromatic
#171018 #3A283D #5E4062 #825887 #A077A6

Accessibility & contrast

On white

8.80
#5E4062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5E4062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4062
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4062#FFFFFF#000000##FFFFFF
##5E40621.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4863
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#5F444C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e4062;
/* rgb */ color: rgb(94, 64, 98);
/* oklch */ color: oklch(41.9% 0.067 322.6);
Tailwind
colors: {
  custom: {
    50: '#8c758e',
    500: '#5e4062',
    950: '#000000',
  },
}
SCSS
$custom: #5e4062;
$custom-light: #8c758e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4062",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 292.941,
    "s": 20.988,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.06668,
    "h": 322.6
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#5E4062
secondary
#71926C
accent
#BE6A74
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5E4062

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

Preview Lab → · Contrast checker → · Palette generator →

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