#5F2D64#5F2D64

#5F2D64 is a dark, moderate purple. Relative luminance 0.052; OKLCH L 38.7% C 0.107 H 323.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#5F2D64
RGBrgb(95, 45, 100)
HSLhsl(295, 38%, 28%)
HSVhsv(295, 55%, 39%)
CMYKcmyk(5%, 55%, 0%, 60.8%)
CIE-LABlab(27.38, 31.75, -22.78)
CIE-LCHlch(27.38, 39.08, 324.34°)
OKLaboklab(38.72% 0.0861 -0.0629)
OKLCHoklch(38.72% 0.107 323.9)
XYZxyz(7.9577, 5.2302, 12.6445)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2D64 #32642D
analogous
#432D64 #5F2D64 #642D4D
triadic
#5F2D64 #645F2D #2D645F
tetradic
#5F2D64 #64432D #32642D #2D4D64
square
#5F2D64 #64432D #32642D #2D4D64
split-complementary
#5F2D64 #4D642D #2D6443
monochromatic
#140915 #371A3A #5F2D64 #87408E #AB58B4

Accessibility & contrast

On white

10.26
#5F2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5F2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2D64
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2D64#FFFFFF#000000##FFFFFF
##5F2D641.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D66
Deuteranopia (green-blind)
#354362
Tritanopia (blue-blind)
#613444
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5f2d64;
/* rgb */ color: rgb(95, 45, 100);
/* oklch */ color: oklch(38.7% 0.107 323.9);
Tailwind
colors: {
  custom: {
    50: '#8e6890',
    500: '#5f2d64',
    950: '#000000',
  },
}
SCSS
$custom: #5f2d64;
$custom-light: #8e6890;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2d64",
  "rgb": {
    "r": 95,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 294.545,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.10664,
    "h": 323.9
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#5F2D64
secondary
#5D9657
accent
#CE5A64
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5F2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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