#5B136A#5B136A

#5B136A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.148 H 319.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5B136A
RGBrgb(91, 19, 106)
HSLhsl(290, 70%, 25%)
HSVhsv(290, 82%, 42%)
CMYKcmyk(14.2%, 82.1%, 0%, 58.4%)
CIE-LABlab(22.76, 43.98, -34.06)
CIE-LCHlch(22.76, 55.63, 322.25°)
OKLaboklab(35.37% 0.1135 -0.0956)
OKLCHoklch(35.37% 0.148 319.9)
XYZxyz(7.1484, 3.7309, 13.9765)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B136A #226A13
analogous
#30136A #5B136A #6A134E
triadic
#5B136A #6A5B13 #136A5B
tetradic
#5B136A #6A3013 #226A13 #134E6A
square
#5B136A #6A3013 #226A13 #134E6A
split-complementary
#5B136A #4E6A13 #136A30
monochromatic
#16051A #2E0A36 #5B136A #881C9E #B426D2

Accessibility & contrast

On white

12.03
#5B136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5B136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B136A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B136A#FFFFFF#000000##FFFFFF
##5B136A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#5B263E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b136a;
/* rgb */ color: rgb(91, 19, 106);
/* oklch */ color: oklch(35.4% 0.148 319.9);
Tailwind
colors: {
  custom: {
    50: '#8d5b95',
    500: '#5b136a',
    950: '#000000',
  },
}
SCSS
$custom: #5b136a;
$custom-light: #8d5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5b136a",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 289.655,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.14842,
    "h": 319.9
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#5B136A
secondary
#4AA138
accent
#EC3B5A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5B136A

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

Preview Lab → · Contrast checker → · Palette generator →

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