#5F1060#5F1060

#5F1060 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.145 H 327.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#5F1060
RGBrgb(95, 16, 96)
HSLhsl(299, 71%, 22%)
HSVhsv(299, 83%, 38%)
CMYKcmyk(1%, 83.3%, 0%, 62.4%)
CIE-LABlab(22.47, 43.91, -27.93)
CIE-LCHlch(22.47, 52.04, 327.54°)
OKLaboklab(35.09% 0.122 -0.0775)
OKLCHoklch(35.09% 0.145 327.6)
XYZxyz(7.0158, 3.6485, 11.3988)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1060 #116010
analogous
#371060 #5F1060 #601039
triadic
#5F1060 #605F10 #10605F
tetradic
#5F1060 #603710 #116010 #103960
square
#5F1060 #603710 #116010 #103960
split-complementary
#5F1060 #396010 #106037
monochromatic
#1A041A #2B072C #5F1060 #931994 #C721C9

Accessibility & contrast

On white

12.14
#5F1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1060
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1060#FFFFFF#000000##FFFFFF
##5F10601.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#621E38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1060;
/* rgb */ color: rgb(95, 16, 96);
/* oklch */ color: oklch(35.1% 0.145 327.6);
Tailwind
colors: {
  custom: {
    50: '#905a8d',
    500: '#5f1060',
    950: '#000000',
  },
}
SCSS
$custom: #5f1060;
$custom-light: #905a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1060",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 299.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35089,
    "c": 0.14459,
    "h": 327.6
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#5F1060
secondary
#349933
accent
#EE3A3C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1060

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

Preview Lab → · Contrast checker → · Palette generator →

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