#5B2467#5B2467

#5B2467 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.0% C 0.123 H 320.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#5B2467
RGBrgb(91, 36, 103)
HSLhsl(289, 48%, 27%)
HSVhsv(289, 65%, 40%)
CMYKcmyk(11.7%, 65%, 0%, 59.6%)
CIE-LABlab(25.15, 36.05, -28.28)
CIE-LCHlch(25.15, 45.82, 321.88°)
OKLaboklab(37.02% 0.0942 -0.0789)
OKLCHoklch(37.02% 0.123 320.1)
XYZxyz(7.3931, 4.4655, 13.3018)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2467 #306724
analogous
#3A2467 #5B2467 #672451
triadic
#5B2467 #675B24 #24675B
tetradic
#5B2467 #673A24 #306724 #245167
square
#5B2467 #673A24 #306724 #245167
split-complementary
#5B2467 #516724 #24673A
monochromatic
#140817 #33143A #5B2467 #833494 #A947BF

Accessibility & contrast

On white

11.09
#5B2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5B2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2467
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2467#FFFFFF#000000##FFFFFF
##5B24671.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#5B2F42
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5b2467;
/* rgb */ color: rgb(91, 36, 103);
/* oklch */ color: oklch(37.0% 0.123 320.1);
Tailwind
colors: {
  custom: {
    50: '#8c6393',
    500: '#5b2467',
    950: '#000000',
  },
}
SCSS
$custom: #5b2467;
$custom-light: #8c6393;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2467",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 289.254,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37021,
    "c": 0.12288,
    "h": 320.1
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#5B2467
secondary
#5A9A4C
accent
#D85068
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5B2467

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

Preview Lab → · Contrast checker → · Palette generator →

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