#5F1361#5F1361

#5F1361 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.142 H 326.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5F1361
RGBrgb(95, 19, 97)
HSLhsl(298, 67%, 23%)
HSVhsv(298, 80%, 38%)
CMYKcmyk(2.1%, 80.4%, 0%, 62%)
CIE-LABlab(22.87, 43.13, -27.96)
CIE-LCHlch(22.87, 51.40, 327.05°)
OKLaboklab(35.39% 0.1193 -0.0776)
OKLCHoklch(35.39% 0.142 326.9)
XYZxyz(7.1097, 3.7622, 11.6587)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1361 #156113
analogous
#381361 #5F1361 #61133C
triadic
#5F1361 #615F13 #13615F
tetradic
#5F1361 #613813 #156113 #133C61
square
#5F1361 #613813 #156113 #133C61
split-complementary
#5F1361 #3C6113 #136138
monochromatic
#19051A #2D092E #5F1361 #911D94 #C327C7

Accessibility & contrast

On white

11.98
#5F1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1361
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1361#FFFFFF#000000##FFFFFF
##5F13611.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#622039
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1361;
/* rgb */ color: rgb(95, 19, 97);
/* oklch */ color: oklch(35.4% 0.142 326.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b8e',
    500: '#5f1361',
    950: '#000000',
  },
}
SCSS
$custom: #5f1361;
$custom-light: #8f5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1361",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 298.462,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.14234,
    "h": 326.9
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#5F1361
secondary
#3A9937
accent
#EA3E42
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1361

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

Preview Lab → · Contrast checker → · Palette generator →

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