#5B2E63#5B2E63

#5B2E63 is a dark, moderate purple. Relative luminance 0.051; OKLCH L 38.3% C 0.101 H 321.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#5B2E63
RGBrgb(91, 46, 99)
HSLhsl(291, 37%, 28%)
HSVhsv(291, 54%, 39%)
CMYKcmyk(8.1%, 53.5%, 0%, 61.2%)
CIE-LABlab(26.96, 29.70, -22.84)
CIE-LCHlch(26.96, 37.46, 322.44°)
OKLaboklab(38.27% 0.0791 -0.0631)
OKLCHoklch(38.27% 0.101 321.4)
XYZxyz(7.5433, 5.0793, 12.3850)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2E63 #36632E
analogous
#402E63 #5B2E63 #632E50
triadic
#5B2E63 #635B2E #2E635B
tetradic
#5B2E63 #63402E #36632E #2E5063
square
#5B2E63 #63402E #36632E #2E5063
split-complementary
#5B2E63 #50632E #2E6340
monochromatic
#130A15 #351B39 #5B2E63 #81418D #A559B2

Accessibility & contrast

On white

10.42
#5B2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5B2E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2E63
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2E63#FFFFFF#000000##FFFFFF
##5B2E631.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C65
Deuteranopia (green-blind)
#334161
Tritanopia (blue-blind)
#5C3544
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5b2e63;
/* rgb */ color: rgb(91, 46, 99);
/* oklch */ color: oklch(38.3% 0.101 321.4);
Tailwind
colors: {
  custom: {
    50: '#8b698f',
    500: '#5b2e63',
    950: '#000000',
  },
}
SCSS
$custom: #5b2e63;
$custom-light: #8b698f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2e63",
  "rgb": {
    "r": 91,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 290.943,
    "s": 36.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.10122,
    "h": 321.4
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#5B2E63
secondary
#619558
accent
#CD5B6C
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5B2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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