#5F105C#5F105C

#5F105C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.141 H 329.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5F105C
RGBrgb(95, 16, 92)
HSLhsl(302, 71%, 22%)
HSVhsv(302, 83%, 37%)
CMYKcmyk(0%, 83.2%, 3.2%, 62.7%)
CIE-LABlab(22.22, 43.20, -25.68)
CIE-LCHlch(22.22, 50.26, 329.27°)
OKLaboklab(34.83% 0.1222 -0.071)
OKLCHoklch(34.83% 0.141 329.8)
XYZxyz(6.8363, 3.5767, 10.4535)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F105C #105F13
analogous
#3B105F #5F105C #5F1035
triadic
#5F105C #5C5F10 #105C5F
tetradic
#5F105C #5F3B10 #105F13 #10355F
square
#5F105C #5F3B10 #105F13 #10355F
split-complementary
#5F105C #355F10 #105F3B
monochromatic
#1A0419 #2B0729 #5F105C #93198F #C822C1

Accessibility & contrast

On white

12.24
#5F105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F105C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F105C#FFFFFF#000000##FFFFFF
##5F105C1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#631C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f105c;
/* rgb */ color: rgb(95, 16, 92);
/* oklch */ color: oklch(34.8% 0.141 329.8);
Tailwind
colors: {
  custom: {
    50: '#8f598a',
    500: '#5f105c',
    950: '#000000',
  },
}
SCSS
$custom: #5f105c;
$custom-light: #8f598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f105c",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 302.278,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34826,
    "c": 0.1413,
    "h": 329.8
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#5F105C
secondary
#339837
accent
#EE413A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F105C

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

Preview Lab → · Contrast checker → · Palette generator →

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