#5E0E57#5E0E57

#5E0E57 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.139 H 332.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5E0E57
RGBrgb(94, 14, 87)
HSLhsl(305, 74%, 21%)
HSVhsv(305, 85%, 37%)
CMYKcmyk(0%, 85.1%, 7.4%, 63.1%)
CIE-LABlab(21.51, 42.70, -23.48)
CIE-LCHlch(21.51, 48.73, 331.19°)
OKLaboklab(34.19% 0.1227 -0.0646)
OKLCHoklch(34.19% 0.139 332.2)
XYZxyz(6.4935, 3.3824, 9.3259)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0E57 #0E5E15
analogous
#3D0E5E #5E0E57 #5E0E2F
triadic
#5E0E57 #575E0E #0E575E
tetradic
#5E0E57 #5E3D0E #0E5E15 #0E2F5E
square
#5E0E57 #5E3D0E #0E5E15 #0E2F5E
split-complementary
#5E0E57 #2F5E0E #0E5E3D
monochromatic
#1B0419 #290626 #5E0E57 #931688 #C91EBA

Accessibility & contrast

On white

12.53
#5E0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E0E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0E57
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0E57#FFFFFF#000000##FFFFFF
##5E0E571.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D59
Deuteranopia (green-blind)
#2A3755
Tritanopia (blue-blind)
#621833
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0e57;
/* rgb */ color: rgb(94, 14, 87);
/* oklch */ color: oklch(34.2% 0.139 332.2);
Tailwind
colors: {
  custom: {
    50: '#8f5887',
    500: '#5e0e57',
    950: '#000000',
  },
}
SCSS
$custom: #5e0e57;
$custom-light: #8f5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0e57",
  "rgb": {
    "r": 94,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 305.25,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34188,
    "c": 0.13872,
    "h": 332.2
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#5E0E57
secondary
#309839
accent
#F14737
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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