#5E0F68#5E0F68

#5E0F68 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.152 H 322.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#5E0F68
RGBrgb(94, 15, 104)
HSLhsl(293, 75%, 23%)
HSVhsv(293, 86%, 41%)
CMYKcmyk(9.6%, 85.6%, 0%, 59.2%)
CIE-LABlab(22.73, 45.46, -32.78)
CIE-LCHlch(22.73, 56.05, 324.21°)
OKLaboklab(35.41% 0.1209 -0.0917)
OKLCHoklch(35.41% 0.152 322.8)
XYZxyz(7.2854, 3.7213, 13.4286)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F68 #19680F
analogous
#310F68 #5E0F68 #680F45
triadic
#5E0F68 #685E0F #0F685E
tetradic
#5E0F68 #68310F #19680F #0F4568
square
#5E0F68 #68310F #19680F #0F4568
split-complementary
#5E0F68 #45680F #0F6831
monochromatic
#18041B #2E0733 #5E0F68 #8E179D #BF1ED3

Accessibility & contrast

On white

12.04
#5E0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F68
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F68#FFFFFF#000000##FFFFFF
##5E0F681.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#5F223C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e0f68;
/* rgb */ color: rgb(94, 15, 104);
/* oklch */ color: oklch(35.4% 0.152 322.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a94',
    500: '#5e0f68',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f68;
$custom-light: #8f5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f68",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 293.258,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.15179,
    "h": 322.8
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#5E0F68
secondary
#3FA132
accent
#F1364B
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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