#5E0E55#5E0E55

#5E0E55 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 333.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5E0E55
RGBrgb(94, 14, 85)
HSLhsl(307, 74%, 21%)
HSVhsv(307, 85%, 37%)
CMYKcmyk(0%, 85.1%, 9.6%, 63.1%)
CIE-LABlab(21.40, 42.37, -22.33)
CIE-LCHlch(21.40, 47.89, 332.21°)
OKLaboklab(34.06% 0.1227 -0.0613)
OKLCHoklch(34.06% 0.137 333.4)
XYZxyz(6.4129, 3.3502, 8.9015)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0E55 #0E5E17
analogous
#3F0E5E #5E0E55 #5E0E2D
triadic
#5E0E55 #555E0E #0E555E
tetradic
#5E0E55 #5E3F0E #0E5E17 #0E2D5E
square
#5E0E55 #5E3F0E #0E5E17 #0E2D5E
split-complementary
#5E0E55 #2D5E0E #0E5E3F
monochromatic
#1B0418 #290625 #5E0E55 #931685 #C91EB5

Accessibility & contrast

On white

12.57
#5E0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0E55
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0E55#FFFFFF#000000##FFFFFF
##5E0E551.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C57
Deuteranopia (green-blind)
#2B3753
Tritanopia (blue-blind)
#631731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0e55;
/* rgb */ color: rgb(94, 14, 85);
/* oklch */ color: oklch(34.1% 0.137 333.4);
Tailwind
colors: {
  custom: {
    50: '#8f5885',
    500: '#5e0e55',
    950: '#000000',
  },
}
SCSS
$custom: #5e0e55;
$custom-light: #8f5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0e55",
  "rgb": {
    "r": 94,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 306.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34064,
    "c": 0.13716,
    "h": 333.4
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#5E0E55
secondary
#30983C
accent
#F14C37
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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