#5E4262#5E4262

#5E4262 is a dark, moderate purple. Relative luminance 0.072; OKLCH L 42.2% C 0.063 H 322.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5E4262
RGBrgb(94, 66, 98)
HSLhsl(293, 20%, 32%)
HSVhsv(293, 33%, 38%)
CMYKcmyk(4.1%, 32.7%, 0%, 61.6%)
CIE-LABlab(32.16, 18.32, -14.09)
CIE-LCHlch(32.16, 23.11, 322.44°)
OKLaboklab(42.25% 0.0495 -0.0383)
OKLCHoklch(42.25% 0.063 322.3)
XYZxyz(8.7687, 7.1582, 12.4727)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4262 #466242
analogous
#4E4262 #5E4262 #624256
triadic
#5E4262 #625E42 #42625E
tetradic
#5E4262 #624E42 #466242 #425662
square
#5E4262 #624E42 #466242 #425662
split-complementary
#5E4262 #566242 #42624E
monochromatic
#181119 #3B293D #5E4262 #815B87 #A079A5

Accessibility & contrast

On white

8.64
#5E4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4262
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4262#FFFFFF#000000##FFFFFF
##5E42621.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4A63
Deuteranopia (green-blind)
#454D61
Tritanopia (blue-blind)
#5F454E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e4262;
/* rgb */ color: rgb(94, 66, 98);
/* oklch */ color: oklch(42.2% 0.063 322.3);
Tailwind
colors: {
  custom: {
    50: '#8c768e',
    500: '#5e4262',
    950: '#000000',
  },
}
SCSS
$custom: #5e4262;
$custom-light: #8c768e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4262",
  "rgb": {
    "r": 94,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 292.5,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.06259,
    "h": 322.3
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#5E4262
secondary
#73916F
accent
#BC6C76
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5E4262

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

Preview Lab → · Contrast checker → · Palette generator →

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