#5E245D#5E245D

#5E245D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.9% C 0.115 H 328.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#5E245D
RGBrgb(94, 36, 93)
HSLhsl(301, 45%, 25%)
HSVhsv(301, 62%, 37%)
CMYKcmyk(0%, 61.7%, 1.1%, 63.1%)
CIE-LABlab(25.05, 34.84, -21.88)
CIE-LCHlch(25.05, 41.14, 327.86°)
OKLaboklab(36.85% 0.0974 -0.0602)
OKLCHoklch(36.85% 0.115 328.3)
XYZxyz(7.2227, 4.4322, 10.8289)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E245D #245E25
analogous
#42245E #5E245D #5E2440
triadic
#5E245D #5D5E24 #245D5E
tetradic
#5E245D #5E4224 #245E25 #24405E
square
#5E245D #5E4224 #245E25 #24405E
split-complementary
#5E245D #405E24 #245E42
monochromatic
#160816 #321331 #5E245D #8A3589 #B746B5

Accessibility & contrast

On white

11.13
#5E245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E245D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E245D#FFFFFF#000000##FFFFFF
##5E245D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E375F
Deuteranopia (green-blind)
#323E5B
Tritanopia (blue-blind)
#612B3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e245d;
/* rgb */ color: rgb(94, 36, 93);
/* oklch */ color: oklch(36.9% 0.115 328.3);
Tailwind
colors: {
  custom: {
    50: '#8e638b',
    500: '#5e245d',
    950: '#000000',
  },
}
SCSS
$custom: #5e245d;
$custom-light: #8e638b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e245d",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 301.034,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36855,
    "c": 0.11451,
    "h": 328.3
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#5E245D
secondary
#4C924D
accent
#D45653
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050C
muted
#7D7A7D

Preview Lab

Preview with #5E245D

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

Preview Lab → · Contrast checker → · Palette generator →

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