#5E2B60#5E2B60

#5E2B60 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.0% C 0.105 H 326.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#5E2B60
RGBrgb(94, 43, 96)
HSLhsl(298, 38%, 27%)
HSVhsv(298, 55%, 38%)
CMYKcmyk(2.1%, 55.2%, 0%, 62.4%)
CIE-LABlab(26.60, 31.71, -21.42)
CIE-LCHlch(26.60, 38.27, 325.96°)
OKLaboklab(38.04% 0.0873 -0.059)
OKLCHoklch(38.04% 0.105 326)
XYZxyz(7.5911, 4.9524, 11.6201)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2B60 #2D602B
analogous
#442B60 #5E2B60 #602B48
triadic
#5E2B60 #605E2B #2B605E
tetradic
#5E2B60 #60442B #2D602B #2B4860
square
#5E2B60 #60442B #2D602B #2B4860
split-complementary
#5E2B60 #48602B #2B6044
monochromatic
#150915 #351836 #5E2B60 #873E8A #AF53B2

Accessibility & contrast

On white

10.55
#5E2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2B60
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2B60#FFFFFF#000000##FFFFFF
##5E2B601.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2b60;
/* rgb */ color: rgb(94, 43, 96);
/* oklch */ color: oklch(38.0% 0.105 326.0);
Tailwind
colors: {
  custom: {
    50: '#8d678d',
    500: '#5e2b60',
    950: '#000000',
  },
}
SCSS
$custom: #5e2b60;
$custom-light: #8d678d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2b60",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 297.736,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.10535,
    "h": 326
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#5E2B60
secondary
#579255
accent
#CE5A5E
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5E2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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