#5F2B60#5F2B60

#5F2B60 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.2% C 0.106 H 326.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#5F2B60
RGBrgb(95, 43, 96)
HSLhsl(299, 38%, 27%)
HSVhsv(299, 55%, 38%)
CMYKcmyk(1%, 55.2%, 0%, 62.4%)
CIE-LABlab(26.75, 32.03, -21.17)
CIE-LCHlch(26.75, 38.39, 326.53°)
OKLaboklab(38.19% 0.0886 -0.0582)
OKLCHoklch(38.19% 0.106 326.7)
XYZxyz(7.6944, 5.0056, 11.6250)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2B60 #2C602B
analogous
#452B60 #5F2B60 #602B47
triadic
#5F2B60 #605F2B #2B605F
tetradic
#5F2B60 #60452B #2C602B #2B4760
square
#5F2B60 #60452B #2C602B #2B4760
split-complementary
#5F2B60 #47602B #2B6045
monochromatic
#150915 #351836 #5F2B60 #893E8A #B053B2

Accessibility & contrast

On white

10.49
#5F2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5F2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2B60
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2B60#FFFFFF#000000##FFFFFF
##5F2B601.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B62
Deuteranopia (green-blind)
#35425E
Tritanopia (blue-blind)
#623141
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f2b60;
/* rgb */ color: rgb(95, 43, 96);
/* oklch */ color: oklch(38.2% 0.106 326.7);
Tailwind
colors: {
  custom: {
    50: '#8e678d',
    500: '#5f2b60',
    950: '#000000',
  },
}
SCSS
$custom: #5f2b60;
$custom-light: #8e678d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2b60",
  "rgb": {
    "r": 95,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 298.868,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.10602,
    "h": 326.7
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#5F2B60
secondary
#569255
accent
#CE5A5C
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5F2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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