#5F136F#5F136F

#5F136F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.155 H 319.8°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#5F136F
RGBrgb(95, 19, 111)
HSLhsl(290, 71%, 25%)
HSVhsv(290, 83%, 44%)
CMYKcmyk(14.4%, 82.9%, 0%, 56.5%)
CIE-LABlab(23.83, 45.82, -35.55)
CIE-LCHlch(23.83, 57.99, 322.19°)
OKLaboklab(36.37% 0.118 -0.0998)
OKLCHoklch(36.37% 0.155 319.8)
XYZxyz(7.8211, 4.0467, 15.4050)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F136F #236F13
analogous
#31136F #5F136F #6F1351
triadic
#5F136F #6F5F13 #136F5F
tetradic
#5F136F #6F3113 #236F13 #13516F
square
#5F136F #6F3113 #236F13 #13516F
split-complementary
#5F136F #516F13 #136F31
monochromatic
#16041A #320A3B #5F136F #8C1CA3 #B825D8

Accessibility & contrast

On white

11.61
#5F136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F136F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F136F#FFFFFF#000000##FFFFFF
##5F136F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#1C3B6D
Tritanopia (blue-blind)
#5F2741
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f136f;
/* rgb */ color: rgb(95, 19, 111);
/* oklch */ color: oklch(36.4% 0.155 319.8);
Tailwind
colors: {
  custom: {
    50: '#905b99',
    500: '#5f136f',
    950: '#000000',
  },
}
SCSS
$custom: #5f136f;
$custom-light: #905b99;
$custom-dark: #000000;
JSON
{
  "hex": "#5f136f",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 289.565,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.15456,
    "h": 319.8
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#5F136F
secondary
#4BA638
accent
#EE3A59
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5F136F

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

Preview Lab → · Contrast checker → · Palette generator →

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