#5B2263#5B2263

#5B2263 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.5% C 0.122 H 322.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#5B2263
RGBrgb(91, 34, 99)
HSLhsl(293, 49%, 26%)
HSVhsv(293, 66%, 39%)
CMYKcmyk(8.1%, 65.7%, 0%, 61.2%)
CIE-LABlab(24.54, 36.20, -26.65)
CIE-LCHlch(24.54, 44.95, 323.64°)
OKLaboklab(36.5% 0.0968 -0.0741)
OKLCHoklch(36.5% 0.122 322.6)
XYZxyz(7.1383, 4.2694, 12.2500)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2263 #2A6322
analogous
#3A2263 #5B2263 #63224A
triadic
#5B2263 #635B22 #22635B
tetradic
#5B2263 #633A22 #2A6322 #224A63
square
#5B2263 #633A22 #2A6322 #224A63
split-complementary
#5B2263 #4A6322 #22633A
monochromatic
#150817 #311235 #5B2263 #853291 #AF41BE

Accessibility & contrast

On white

11.33
#5B2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5B2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2263
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2263#FFFFFF#000000##FFFFFF
##5B22631.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143665
Deuteranopia (green-blind)
#2B3D61
Tritanopia (blue-blind)
#5C2C3F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5b2263;
/* rgb */ color: rgb(91, 34, 99);
/* oklch */ color: oklch(36.5% 0.122 322.6);
Tailwind
colors: {
  custom: {
    50: '#8c6190',
    500: '#5b2263',
    950: '#000000',
  },
}
SCSS
$custom: #5b2263;
$custom-light: #8c6190;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2263",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 292.615,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36498,
    "c": 0.12192,
    "h": 322.6
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#5B2263
secondary
#53974A
accent
#D84F60
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5B2263

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

Preview Lab → · Contrast checker → · Palette generator →

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