#5F1453#5F1453

#5F1453 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.130 H 335.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F1453
RGBrgb(95, 20, 83)
HSLhsl(310, 65%, 23%)
HSVhsv(310, 79%, 37%)
CMYKcmyk(0%, 78.9%, 12.6%, 62.7%)
CIE-LABlab(22.15, 40.34, -19.78)
CIE-LCHlch(22.15, 44.92, 333.88°)
OKLaboklab(34.61% 0.1179 -0.054)
OKLCHoklch(34.61% 0.13 335.4)
XYZxyz(6.5309, 3.5583, 8.5248)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1453 #145F20
analogous
#45145F #5F1453 #5F142E
triadic
#5F1453 #535F14 #14535F
tetradic
#5F1453 #5F4514 #145F20 #142E5F
square
#5F1453 #5F4514 #145F20 #142E5F
split-complementary
#5F1453 #2E5F14 #145F45
monochromatic
#190516 #2C0927 #5F1453 #921F7F #C429AB

Accessibility & contrast

On white

12.27
#5F1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1453
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1453#FFFFFF#000000##FFFFFF
##5F14531.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#641A32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1453;
/* rgb */ color: rgb(95, 20, 83);
/* oklch */ color: oklch(34.6% 0.130 335.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a83',
    500: '#5f1453',
    950: '#000000',
  },
}
SCSS
$custom: #5f1453;
$custom-light: #8f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1453",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 309.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34608,
    "c": 0.12969,
    "h": 335.4
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#5F1453
secondary
#389747
accent
#E85B40
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1453

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

Preview Lab → · Contrast checker → · Palette generator →

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