#5E1058#5E1058

#5E1058 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.138 H 331.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5E1058
RGBrgb(94, 16, 88)
HSLhsl(305, 71%, 22%)
HSVhsv(305, 83%, 37%)
CMYKcmyk(0%, 83%, 6.4%, 63.1%)
CIE-LABlab(21.78, 42.27, -23.72)
CIE-LCHlch(21.78, 48.47, 330.70°)
OKLaboklab(34.4% 0.121 -0.0654)
OKLCHoklch(34.4% 0.138 331.6)
XYZxyz(6.5628, 3.4554, 9.5519)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1058 #105E16
analogous
#3D105E #5E1058 #5E1031
triadic
#5E1058 #585E10 #10585E
tetradic
#5E1058 #5E3D10 #105E16 #10315E
square
#5E1058 #5E3D10 #105E16 #10315E
split-complementary
#5E1058 #315E10 #105E3D
monochromatic
#1A0418 #2A0727 #5E1058 #921989 #C722BA

Accessibility & contrast

On white

12.42
#5E1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1058
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1058#FFFFFF#000000##FFFFFF
##5E10581.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082D5A
Deuteranopia (green-blind)
#2A3856
Tritanopia (blue-blind)
#621A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1058;
/* rgb */ color: rgb(94, 16, 88);
/* oklch */ color: oklch(34.4% 0.138 331.6);
Tailwind
colors: {
  custom: {
    50: '#8f5987',
    500: '#5e1058',
    950: '#000000',
  },
}
SCSS
$custom: #5e1058;
$custom-light: #8f5987;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1058",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 304.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.13753,
    "h": 331.6
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#5E1058
secondary
#33973B
accent
#EE483A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1058

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

Preview Lab → · Contrast checker → · Palette generator →

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