#5F0F55#5F0F55

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

Color values

HEX#5F0F55
RGBrgb(95, 15, 85)
HSLhsl(308, 73%, 22%)
HSVhsv(308, 84%, 37%)
CMYKcmyk(0%, 84.2%, 10.5%, 62.7%)
CIE-LABlab(21.69, 42.31, -21.84)
CIE-LCHlch(21.69, 47.62, 332.69°)
OKLaboklab(34.31% 0.1229 -0.0599)
OKLCHoklch(34.31% 0.137 334)
XYZxyz(6.5299, 3.4310, 8.9109)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F55 #0F5F19
analogous
#410F5F #5F0F55 #5F0F2D
triadic
#5F0F55 #555F0F #0F555F
tetradic
#5F0F55 #5F410F #0F5F19 #0F2D5F
square
#5F0F55 #5F410F #0F5F19 #0F2D5F
split-complementary
#5F0F55 #2D5F0F #0F5F41
monochromatic
#1A0418 #2A0726 #5F0F55 #941784 #C920B4

Accessibility & contrast

On white

12.46
#5F0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F55
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F55#FFFFFF#000000##FFFFFF
##5F0F551.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0f55;
/* rgb */ color: rgb(95, 15, 85);
/* oklch */ color: oklch(34.3% 0.137 334.0);
Tailwind
colors: {
  custom: {
    50: '#905985',
    500: '#5f0f55',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f55;
$custom-light: #905985;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f55",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 307.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.13673,
    "h": 334
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#5F0F55
secondary
#32983E
accent
#EF4F38
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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