#5F1353#5F1353

#5F1353 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.131 H 335.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5F1353
RGBrgb(95, 19, 83)
HSLhsl(309, 67%, 22%)
HSVhsv(309, 80%, 37%)
CMYKcmyk(0%, 80%, 12.6%, 62.7%)
CIE-LABlab(22.03, 40.69, -19.97)
CIE-LCHlch(22.03, 45.33, 333.86°)
OKLaboklab(34.52% 0.119 -0.0546)
OKLCHoklch(34.52% 0.131 335.4)
XYZxyz(6.5136, 3.5238, 8.5190)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1353 #135F1F
analogous
#45135F #5F1353 #5F132D
triadic
#5F1353 #535F13 #13535F
tetradic
#5F1353 #5F4513 #135F1F #132D5F
square
#5F1353 #5F4513 #135F1F #132D5F
split-complementary
#5F1353 #2D5F13 #135F45
monochromatic
#1A0516 #2C0926 #5F1353 #921D80 #C527AC

Accessibility & contrast

On white

12.32
#5F1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1353
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1353#FFFFFF#000000##FFFFFF
##5F13531.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E55
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#641932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1353;
/* rgb */ color: rgb(95, 19, 83);
/* oklch */ color: oklch(34.5% 0.131 335.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a83',
    500: '#5f1353',
    950: '#000000',
  },
}
SCSS
$custom: #5f1353;
$custom-light: #8f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1353",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 309.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.13088,
    "h": 335.4
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#5F1353
secondary
#379746
accent
#EA593E
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1353

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

Preview Lab → · Contrast checker → · Palette generator →

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