#5E0D53#5E0D53

#5E0D53 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.137 H 334.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5E0D53
RGBrgb(94, 13, 83)
HSLhsl(308, 76%, 21%)
HSVhsv(308, 86%, 37%)
CMYKcmyk(0%, 86.2%, 11.7%, 63.1%)
CIE-LABlab(21.18, 42.32, -21.32)
CIE-LCHlch(21.18, 47.39, 333.26°)
OKLaboklab(33.87% 0.1234 -0.0584)
OKLCHoklch(33.87% 0.137 334.7)
XYZxyz(6.3214, 3.2926, 8.4846)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D53 #0D5E18
analogous
#400D5E #5E0D53 #5E0D2A
triadic
#5E0D53 #535E0D #0D535E
tetradic
#5E0D53 #5E400D #0D5E18 #0D2A5E
square
#5E0D53 #5E400D #0D5E18 #0D2A5E
split-complementary
#5E0D53 #2A5E0D #0D5E40
monochromatic
#1B0418 #280624 #5E0D53 #941482 #CA1CB2

Accessibility & contrast

On white

12.66
#5E0D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E0D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D53
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D53#FFFFFF#000000##FFFFFF
##5E0D531.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#631530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0d53;
/* rgb */ color: rgb(94, 13, 83);
/* oklch */ color: oklch(33.9% 0.137 334.7);
Tailwind
colors: {
  custom: {
    50: '#8f5883',
    500: '#5e0d53',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d53;
$custom-light: #8f5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d53",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 308.148,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33872,
    "c": 0.13657,
    "h": 334.7
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#5E0D53
secondary
#2F983D
accent
#F24F36
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0D53

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

Preview Lab → · Contrast checker → · Palette generator →

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