#5F1356#5F1356

#5F1356 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.133 H 333.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#5F1356
RGBrgb(95, 19, 86)
HSLhsl(307, 67%, 22%)
HSVhsv(307, 80%, 37%)
CMYKcmyk(0%, 80%, 9.5%, 62.7%)
CIE-LABlab(22.20, 41.19, -21.72)
CIE-LCHlch(22.20, 46.56, 332.20°)
OKLaboklab(34.7% 0.1192 -0.0596)
OKLCHoklch(34.7% 0.133 333.4)
XYZxyz(6.6319, 3.5711, 9.1423)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1356 #135F1C
analogous
#42135F #5F1356 #5F1330
triadic
#5F1356 #565F13 #13565F
tetradic
#5F1356 #5F4213 #135F1C #13305F
square
#5F1356 #5F4213 #135F1C #13305F
split-complementary
#5F1356 #305F13 #135F42
monochromatic
#1A0517 #2C0928 #5F1356 #921D84 #C527B2

Accessibility & contrast

On white

12.25
#5F1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1356
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1356#FFFFFF#000000##FFFFFF
##5F13561.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E58
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#641B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1356;
/* rgb */ color: rgb(95, 19, 86);
/* oklch */ color: oklch(34.7% 0.133 333.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a86',
    500: '#5f1356',
    950: '#000000',
  },
}
SCSS
$custom: #5f1356;
$custom-light: #8f5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1356",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 307.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34696,
    "c": 0.13324,
    "h": 333.4
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#5F1356
secondary
#379742
accent
#EA533E
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F1356

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

Preview Lab → · Contrast checker → · Palette generator →

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