#5F1059#5F1059

#5F1059 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.139 H 331.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5F1059
RGBrgb(95, 16, 89)
HSLhsl(305, 71%, 22%)
HSVhsv(305, 83%, 37%)
CMYKcmyk(0%, 83.2%, 6.3%, 62.7%)
CIE-LABlab(22.04, 42.68, -23.98)
CIE-LCHlch(22.04, 48.95, 330.67°)
OKLaboklab(34.64% 0.1222 -0.0661)
OKLCHoklch(34.64% 0.139 331.6)
XYZxyz(6.7078, 3.5253, 9.7764)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1059 #105F16
analogous
#3E105F #5F1059 #5F1032
triadic
#5F1059 #595F10 #10595F
tetradic
#5F1059 #5F3E10 #105F16 #10325F
square
#5F1059 #5F3E10 #105F16 #10325F
split-complementary
#5F1059 #325F10 #105F3E
monochromatic
#1A0419 #2B0728 #5F1059 #93198A #C822BB

Accessibility & contrast

On white

12.32
#5F1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1059
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1059#FFFFFF#000000##FFFFFF
##5F10591.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082E5B
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#631A34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1059;
/* rgb */ color: rgb(95, 16, 89);
/* oklch */ color: oklch(34.6% 0.139 331.6);
Tailwind
colors: {
  custom: {
    50: '#8f5988',
    500: '#5f1059',
    950: '#000000',
  },
}
SCSS
$custom: #5f1059;
$custom-light: #8f5988;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1059",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 304.557,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.13888,
    "h": 331.6
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#5F1059
secondary
#33983B
accent
#EE483A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F1059

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

Preview Lab → · Contrast checker → · Palette generator →

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