#5E0F76#5E0F76

#5E0F76 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.5% C 0.164 H 316.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5E0F76
RGBrgb(94, 15, 118)
HSLhsl(286, 77%, 26%)
HSVhsv(286, 87%, 46%)
CMYKcmyk(20.3%, 87.3%, 0%, 53.7%)
CIE-LABlab(23.77, 48.22, -40.15)
CIE-LCHlch(23.77, 62.74, 320.22°)
OKLaboklab(36.47% 0.1184 -0.1134)
OKLCHoklch(36.47% 0.164 316.2)
XYZxyz(8.0564, 4.0297, 17.4895)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F76 #27760F
analogous
#2A0F76 #5E0F76 #760F5A
triadic
#5E0F76 #765E0F #0F765E
tetradic
#5E0F76 #762A0F #27760F #0F5A76
square
#5E0F76 #762A0F #27760F #0F5A76
split-complementary
#5E0F76 #5A760F #0F762A
monochromatic
#16031B #330840 #5E0F76 #8916AC #B41DE2

Accessibility & contrast

On white

11.63
#5E0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F76
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F76#FFFFFF#000000##FFFFFF
##5E0F761.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#0D3B74
Tritanopia (blue-blind)
#5C2945
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e0f76;
/* rgb */ color: rgb(94, 15, 118);
/* oklch */ color: oklch(36.5% 0.164 316.2);
Tailwind
colors: {
  custom: {
    50: '#905a9e',
    500: '#5e0f76',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f76;
$custom-light: #905a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f76",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 286.019,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36467,
    "c": 0.16393,
    "h": 316.2
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#5E0F76
secondary
#50AD33
accent
#F43461
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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