#5E107F#5E107F

#5E107F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.171 H 312.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#5E107F
RGBrgb(94, 16, 127)
HSLhsl(282, 78%, 28%)
HSVhsv(282, 87%, 50%)
CMYKcmyk(26%, 87.4%, 0%, 50.2%)
CIE-LABlab(24.59, 49.81, -44.55)
CIE-LCHlch(24.59, 66.83, 318.19°)
OKLaboklab(37.26% 0.1155 -0.1263)
OKLCHoklch(37.26% 0.171 312.4)
XYZxyz(8.6314, 4.2828, 20.4465)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E107F #317F10
analogous
#26107F #5E107F #7F1068
triadic
#5E107F #7F5E10 #107F5E
tetradic
#5E107F #7F2610 #317F10 #10687F
square
#5E107F #7F2610 #317F10 #10687F
split-complementary
#5E107F #687F10 #107F26
monochromatic
#14031B #360949 #5E107F #8617B5 #AB26E4

Accessibility & contrast

On white

11.31
#5E107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E107F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E107F#FFFFFF#000000##FFFFFF
##5E107F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#5A2E4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e107f;
/* rgb */ color: rgb(94, 16, 127);
/* oklch */ color: oklch(37.3% 0.171 312.4);
Tailwind
colors: {
  custom: {
    50: '#905ba5',
    500: '#5e107f',
    950: '#000000',
  },
}
SCSS
$custom: #5e107f;
$custom-light: #905ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e107f",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 282.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.17114,
    "h": 312.4
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#5E107F
secondary
#5CB536
accent
#F4346D
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5E107F

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

Preview Lab → · Contrast checker → · Palette generator →

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