#5F0F53#5F0F53

#5F0F53 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.135 H 335.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5F0F53
RGBrgb(95, 15, 83)
HSLhsl(309, 73%, 22%)
HSVhsv(309, 84%, 37%)
CMYKcmyk(0%, 84.2%, 12.6%, 62.7%)
CIE-LABlab(21.58, 41.98, -20.68)
CIE-LCHlch(21.58, 46.80, 333.78°)
OKLaboklab(34.19% 0.1228 -0.0566)
OKLCHoklch(34.19% 0.135 335.3)
XYZxyz(6.4516, 3.3997, 8.4984)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F53 #0F5F1B
analogous
#430F5F #5F0F53 #5F0F2B
triadic
#5F0F53 #535F0F #0F535F
tetradic
#5F0F53 #5F430F #0F5F1B #0F2B5F
square
#5F0F53 #5F430F #0F5F1B #0F2B5F
split-complementary
#5F0F53 #2B5F0F #0F5F43
monochromatic
#1A0417 #2A0725 #5F0F53 #941781 #C920AF

Accessibility & contrast

On white

12.50
#5F0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F53
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F53#FFFFFF#000000##FFFFFF
##5F0F531.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#641630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f0f53;
/* rgb */ color: rgb(95, 15, 83);
/* oklch */ color: oklch(34.2% 0.135 335.3);
Tailwind
colors: {
  custom: {
    50: '#905983',
    500: '#5f0f53',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f53;
$custom-light: #905983;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f53",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 309,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.1352,
    "h": 335.3
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#5F0F53
secondary
#329841
accent
#EF5438
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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