#5E136F#5E136F

#5E136F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.154 H 319.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#5E136F
RGBrgb(94, 19, 111)
HSLhsl(289, 71%, 25%)
HSVhsv(289, 83%, 44%)
CMYKcmyk(15.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(23.65, 45.61, -35.84)
CIE-LCHlch(23.65, 58.01, 321.84°)
OKLaboklab(36.22% 0.1167 -0.1007)
OKLCHoklch(36.22% 0.154 319.2)
XYZxyz(7.7178, 3.9935, 15.4001)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E136F #246F13
analogous
#30136F #5E136F #6F1352
triadic
#5E136F #6F5E13 #136F5E
tetradic
#5E136F #6F3013 #246F13 #13526F
square
#5E136F #6F3013 #246F13 #13526F
split-complementary
#5E136F #526F13 #136F30
monochromatic
#16041A #320A3B #5E136F #8A1CA3 #B725D8

Accessibility & contrast

On white

11.68
#5E136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E136F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E136F#FFFFFF#000000##FFFFFF
##5E136F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#1A3B6D
Tritanopia (blue-blind)
#5E2741
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e136f;
/* rgb */ color: rgb(94, 19, 111);
/* oklch */ color: oklch(36.2% 0.154 319.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b99',
    500: '#5e136f',
    950: '#000000',
  },
}
SCSS
$custom: #5e136f;
$custom-light: #8f5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#5e136f",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 288.913,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.15415,
    "h": 319.2
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#5E136F
secondary
#4CA638
accent
#EE3A5B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E136F

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

Preview Lab → · Contrast checker → · Palette generator →

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