#5E0F55#5E0F55

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

Color values

HEX#5E0F55
RGBrgb(94, 15, 85)
HSLhsl(307, 72%, 21%)
HSVhsv(307, 84%, 37%)
CMYKcmyk(0%, 84%, 9.6%, 63.1%)
CIE-LABlab(21.50, 42.07, -22.17)
CIE-LCHlch(21.50, 47.55, 332.22°)
OKLaboklab(34.14% 0.1218 -0.0609)
OKLCHoklch(34.14% 0.136 333.4)
XYZxyz(6.4267, 3.3778, 8.9061)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F55 #0F5E18
analogous
#400F5E #5E0F55 #5E0F2E
triadic
#5E0F55 #555E0F #0F555E
tetradic
#5E0F55 #5E400F #0F5E18 #0F2E5E
square
#5E0F55 #5E400F #0F5E18 #0F2E5E
split-complementary
#5E0F55 #2E5E0F #0F5E40
monochromatic
#1A0418 #290725 #5E0F55 #931785 #C820B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E0F55#FFFFFF#000000##FFFFFF
##5E0F551.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)
#0B2C57
Deuteranopia (green-blind)
#2B3753
Tritanopia (blue-blind)
#631832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0f55;
/* rgb */ color: rgb(94, 15, 85);
/* oklch */ color: oklch(34.1% 0.136 333.4);
Tailwind
colors: {
  custom: {
    50: '#8f5985',
    500: '#5e0f55',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f55;
$custom-light: #8f5985;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f55",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 306.835,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34137,
    "c": 0.13617,
    "h": 333.4
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#5E0F55
secondary
#31973D
accent
#EF4D39
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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