#5E1075#5E1075

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

Color values

HEX#5E1075
RGBrgb(94, 16, 117)
HSLhsl(286, 76%, 26%)
HSVhsv(286, 86%, 46%)
CMYKcmyk(19.7%, 86.3%, 0%, 54.1%)
CIE-LABlab(23.79, 47.74, -39.48)
CIE-LCHlch(23.79, 61.95, 320.41°)
OKLaboklab(36.46% 0.1179 -0.1114)
OKLCHoklch(36.46% 0.162 316.6)
XYZxyz(8.0118, 4.0350, 17.1830)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1075 #277510
analogous
#2B1075 #5E1075 #751059
triadic
#5E1075 #755E10 #10755E
tetradic
#5E1075 #752B10 #277510 #105975
square
#5E1075 #752B10 #277510 #105975
split-complementary
#5E1075 #597510 #10752B
monochromatic
#16041B #33093F #5E1075 #8917AB #B41FE0

Accessibility & contrast

On white

11.62
#5E1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1075
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1075#FFFFFF#000000##FFFFFF
##5E10751.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#103B73
Tritanopia (blue-blind)
#5D2944
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1075;
/* rgb */ color: rgb(94, 16, 117);
/* oklch */ color: oklch(36.5% 0.162 316.6);
Tailwind
colors: {
  custom: {
    50: '#905b9d',
    500: '#5e1075',
    950: '#000000',
  },
}
SCSS
$custom: #5e1075;
$custom-light: #905b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1075",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 286.337,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.16223,
    "h": 316.6
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#5E1075
secondary
#50AC35
accent
#F33560
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1075

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

Preview Lab → · Contrast checker → · Palette generator →

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