#5E0D56#5E0D56

#5E0D56 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.139 H 332.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5E0D56
RGBrgb(94, 13, 86)
HSLhsl(306, 76%, 21%)
HSVhsv(306, 86%, 37%)
CMYKcmyk(0%, 86.2%, 8.5%, 63.1%)
CIE-LABlab(21.36, 42.81, -23.06)
CIE-LCHlch(21.36, 48.63, 331.69°)
OKLaboklab(34.06% 0.1235 -0.0634)
OKLCHoklch(34.06% 0.139 332.8)
XYZxyz(6.4398, 3.3400, 9.1078)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D56 #0D5E15
analogous
#3D0D5E #5E0D56 #5E0D2D
triadic
#5E0D56 #565E0D #0D565E
tetradic
#5E0D56 #5E3D0D #0D5E15 #0D2D5E
square
#5E0D56 #5E3D0D #0D5E15 #0D2D5E
split-complementary
#5E0D56 #2D5E0D #0D5E3D
monochromatic
#1B0419 #280625 #5E0D56 #941487 #CA1CB8

Accessibility & contrast

On white

12.59
#5E0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D56
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D56#FFFFFF#000000##FFFFFF
##5E0D561.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#631732
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0d56;
/* rgb */ color: rgb(94, 13, 86);
/* oklch */ color: oklch(34.1% 0.139 332.8);
Tailwind
colors: {
  custom: {
    50: '#8f5886',
    500: '#5e0d56',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d56;
$custom-light: #8f5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d56",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 305.926,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.13886,
    "h": 332.8
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#5E0D56
secondary
#2F9839
accent
#F24836
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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