#5E255B#5E255B

#5E255B is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.9% C 0.111 H 329.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#5E255B
RGBrgb(94, 37, 91)
HSLhsl(303, 44%, 26%)
HSVhsv(303, 61%, 37%)
CMYKcmyk(0%, 60.6%, 3.2%, 63.1%)
CIE-LABlab(25.13, 33.93, -20.44)
CIE-LCHlch(25.13, 39.61, 328.93°)
OKLaboklab(36.88% 0.0957 -0.0561)
OKLCHoklch(36.88% 0.111 329.6)
XYZxyz(7.1659, 4.4586, 10.3787)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E255B #255E28
analogous
#44255E #5E255B #5E253E
triadic
#5E255B #5B5E25 #255B5E
tetradic
#5E255B #5E4425 #255E28 #253E5E
square
#5E255B #5E4425 #255E28 #253E5E
split-complementary
#5E255B #3E5E25 #255E44
monochromatic
#160915 #321430 #5E255B #8A3686 #B648B0

Accessibility & contrast

On white

11.10
#5E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E255B
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E255B#FFFFFF#000000##FFFFFF
##5E255B1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375D
Deuteranopia (green-blind)
#333E59
Tritanopia (blue-blind)
#612B3C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e255b;
/* rgb */ color: rgb(94, 37, 91);
/* oklch */ color: oklch(36.9% 0.111 329.6);
Tailwind
colors: {
  custom: {
    50: '#8e6389',
    500: '#5e255b',
    950: '#000000',
  },
}
SCSS
$custom: #5e255b;
$custom-light: #8e6389;
$custom-dark: #000000;
JSON
{
  "hex": "#5e255b",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 303.158,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.11089,
    "h": 329.6
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#5E255B
secondary
#4D9151
accent
#D35B55
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050B
muted
#7D7A7C

Preview Lab

Preview with #5E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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