#5F205F#5F205F

#5F205F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.6% C 0.123 H 327.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#5F205F
RGBrgb(95, 32, 95)
HSLhsl(300, 50%, 25%)
HSVhsv(300, 66%, 37%)
CMYKcmyk(0%, 66.3%, 0%, 62.7%)
CIE-LABlab(24.62, 37.48, -23.87)
CIE-LCHlch(24.62, 44.44, 327.51°)
OKLaboklab(36.61% 0.1044 -0.0659)
OKLCHoklch(36.61% 0.123 327.7)
XYZxyz(7.3013, 4.2926, 11.2682)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F205F #205F20
analogous
#40205F #5F205F #5F2040
triadic
#5F205F #5F5F20 #205F5F
tetradic
#5F205F #5F4020 #205F20 #20405F
square
#5F205F #5F4020 #205F20 #20405F
split-complementary
#5F205F #405F20 #205F40
monochromatic
#170817 #311131 #5F205F #8D2F8D #BB3FBB

Accessibility & contrast

On white

11.30
#5F205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5F205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F205F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F205F#FFFFFF#000000##FFFFFF
##5F205F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183561
Deuteranopia (green-blind)
#2F3D5D
Tritanopia (blue-blind)
#62283C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f205f;
/* rgb */ color: rgb(95, 32, 95);
/* oklch */ color: oklch(36.6% 0.123 327.7);
Tailwind
colors: {
  custom: {
    50: '#8f618c',
    500: '#5f205f',
    950: '#000000',
  },
}
SCSS
$custom: #5f205f;
$custom-light: #8f618c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f205f",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 300,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.12346,
    "h": 327.7
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#5F205F
secondary
#479347
accent
#D94F4F
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5F205F

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

Preview Lab → · Contrast checker → · Palette generator →

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