#5F136A#5F136A

#5F136A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.150 H 322.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#5F136A
RGBrgb(95, 19, 106)
HSLhsl(292, 70%, 25%)
HSVhsv(292, 82%, 42%)
CMYKcmyk(10.4%, 82.1%, 0%, 58.4%)
CIE-LABlab(23.47, 44.83, -32.88)
CIE-LCHlch(23.47, 55.60, 323.74°)
OKLaboklab(36.01% 0.1186 -0.092)
OKLCHoklch(36.01% 0.15 322.2)
XYZxyz(7.5534, 3.9397, 13.9955)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F136A #1E6A13
analogous
#34136A #5F136A #6A134A
triadic
#5F136A #6A5F13 #136A5F
tetradic
#5F136A #6A3413 #1E6A13 #134A6A
square
#5F136A #6A3413 #1E6A13 #134A6A
split-complementary
#5F136A #4A6A13 #136A34
monochromatic
#17051A #300A36 #5F136A #8E1C9E #BC26D2

Accessibility & contrast

On white

11.75
#5F136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F136A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F136A#FFFFFF#000000##FFFFFF
##5F136A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#203B68
Tritanopia (blue-blind)
#60253E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f136a;
/* rgb */ color: rgb(95, 19, 106);
/* oklch */ color: oklch(36.0% 0.150 322.2);
Tailwind
colors: {
  custom: {
    50: '#905b95',
    500: '#5f136a',
    950: '#000000',
  },
}
SCSS
$custom: #5f136a;
$custom-light: #905b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5f136a",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 292.414,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.15014,
    "h": 322.2
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#5F136A
secondary
#45A138
accent
#EC3B52
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F136A

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

Preview Lab → · Contrast checker → · Palette generator →

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