#5E0F56#5E0F56

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

Color values

HEX#5E0F56
RGBrgb(94, 15, 86)
HSLhsl(306, 72%, 21%)
HSVhsv(306, 84%, 37%)
CMYKcmyk(0%, 84%, 8.5%, 63.1%)
CIE-LABlab(21.56, 42.24, -22.74)
CIE-LCHlch(21.56, 47.97, 331.70°)
OKLaboklab(34.2% 0.1219 -0.0625)
OKLCHoklch(34.2% 0.137 332.8)
XYZxyz(6.4667, 3.3938, 9.1168)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F56 #0F5E17
analogous
#3F0F5E #5E0F56 #5E0F2F
triadic
#5E0F56 #565E0F #0F565E
tetradic
#5E0F56 #5E3F0F #0F5E17 #0F2F5E
square
#5E0F56 #5E3F0F #0F5E17 #0F2F5E
split-complementary
#5E0F56 #2F5E0F #0F5E3F
monochromatic
#1A0418 #290726 #5E0F56 #931786 #C820B7

Accessibility & contrast

On white

12.51
#5E0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0F56
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F56#FFFFFF#000000##FFFFFF
##5E0F561.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D58
Deuteranopia (green-blind)
#2B3854
Tritanopia (blue-blind)
#631832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0f56;
/* rgb */ color: rgb(94, 15, 86);
/* oklch */ color: oklch(34.2% 0.137 332.8);
Tailwind
colors: {
  custom: {
    50: '#8f5986',
    500: '#5e0f56',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f56;
$custom-light: #8f5986;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f56",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 306.076,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.13696,
    "h": 332.8
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#5E0F56
secondary
#31973C
accent
#EF4B39
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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