#5F0D55#5F0D55

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

Color values

HEX#5F0D55
RGBrgb(95, 13, 85)
HSLhsl(307, 76%, 21%)
HSVhsv(307, 86%, 37%)
CMYKcmyk(0%, 86.3%, 10.5%, 62.7%)
CIE-LABlab(21.50, 42.88, -22.16)
CIE-LCHlch(21.50, 48.27, 332.68°)
OKLaboklab(34.17% 0.1246 -0.0608)
OKLCHoklch(34.17% 0.139 334)
XYZxyz(6.5030, 3.3772, 8.9019)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D55 #0D5F17
analogous
#400D5F #5F0D55 #5F0D2C
triadic
#5F0D55 #555F0D #0D555F
tetradic
#5F0D55 #5F400D #0D5F17 #0D2C5F
square
#5F0D55 #5F400D #0D5F17 #0D2C5F
split-complementary
#5F0D55 #2C5F0D #0D5F40
monochromatic
#1B0418 #290625 #5F0D55 #951485 #CB1CB5

Accessibility & contrast

On white

12.53
#5F0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D55
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D55#FFFFFF#000000##FFFFFF
##5F0D551.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C57
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#641631
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f0d55;
/* rgb */ color: rgb(95, 13, 85);
/* oklch */ color: oklch(34.2% 0.139 334.0);
Tailwind
colors: {
  custom: {
    50: '#905885',
    500: '#5f0d55',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d55;
$custom-light: #905885;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d55",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 307.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.13864,
    "h": 334
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#5F0D55
secondary
#2F993C
accent
#F34C35
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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