#5E0F53#5E0F53

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

Color values

HEX#5E0F53
RGBrgb(94, 15, 83)
HSLhsl(308, 72%, 21%)
HSVhsv(308, 84%, 37%)
CMYKcmyk(0%, 84%, 11.7%, 63.1%)
CIE-LABlab(21.38, 41.74, -21.01)
CIE-LCHlch(21.38, 46.73, 333.29°)
OKLaboklab(34.02% 0.1217 -0.0575)
OKLCHoklch(34.02% 0.135 334.7)
XYZxyz(6.3483, 3.3464, 8.4935)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F53 #0F5E1A
analogous
#420F5E #5E0F53 #5E0F2C
triadic
#5E0F53 #535E0F #0F535E
tetradic
#5E0F53 #5E420F #0F5E1A #0F2C5E
square
#5E0F53 #5E420F #0F5E1A #0F2C5E
split-complementary
#5E0F53 #2C5E0F #0F5E42
monochromatic
#1A0417 #290724 #5E0F53 #931782 #C820B0

Accessibility & contrast

On white

12.58
#5E0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0F53
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F53#FFFFFF#000000##FFFFFF
##5E0F531.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e0f53;
/* rgb */ color: rgb(94, 15, 83);
/* oklch */ color: oklch(34.0% 0.135 334.7);
Tailwind
colors: {
  custom: {
    50: '#8f5883',
    500: '#5e0f53',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f53;
$custom-light: #8f5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f53",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 308.354,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.13463,
    "h": 334.7
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#5E0F53
secondary
#319740
accent
#EF5239
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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