#5F1553#5F1553

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

Color values

HEX#5F1553
RGBrgb(95, 21, 83)
HSLhsl(310, 64%, 23%)
HSVhsv(310, 78%, 37%)
CMYKcmyk(0%, 77.9%, 12.6%, 62.7%)
CIE-LABlab(22.28, 39.97, -19.58)
CIE-LCHlch(22.28, 44.51, 333.91°)
OKLaboklab(34.7% 0.1168 -0.0534)
OKLCHoklch(34.7% 0.128 335.4)
XYZxyz(6.5489, 3.5943, 8.5308)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1553 #155F21
analogous
#46155F #5F1553 #5F152E
triadic
#5F1553 #535F15 #15535F
tetradic
#5F1553 #5F4615 #155F21 #152E5F
square
#5F1553 #5F4615 #155F21 #152E5F
split-complementary
#5F1553 #2E5F15 #155F46
monochromatic
#190616 #2D0A27 #5F1553 #91207F #C32BAB

Accessibility & contrast

On white

12.22
#5F1553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F1553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1553
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1553#FFFFFF#000000##FFFFFF
##5F15531.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1553;
/* rgb */ color: rgb(95, 21, 83);
/* oklch */ color: oklch(34.7% 0.128 335.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b83',
    500: '#5f1553',
    950: '#000000',
  },
}
SCSS
$custom: #5f1553;
$custom-light: #8f5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1553",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 309.73,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.12847,
    "h": 335.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#5F1553
secondary
#3A9649
accent
#E75C41
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1553

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

Preview Lab → · Contrast checker → · Palette generator →

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