#5E286A#5E286A

#5E286A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.121 H 320.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#5E286A
RGBrgb(94, 40, 106)
HSLhsl(289, 45%, 29%)
HSVhsv(289, 62%, 42%)
CMYKcmyk(11.3%, 62.3%, 0%, 58.4%)
CIE-LABlab(26.56, 35.46, -27.97)
CIE-LCHlch(26.56, 45.16, 321.74°)
OKLaboklab(38.2% 0.0928 -0.0779)
OKLCHoklch(38.2% 0.121 320)
XYZxyz(7.9761, 4.9382, 14.1659)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E286A #346A28
analogous
#3D286A #5E286A #6A2855
triadic
#5E286A #6A5E28 #286A5E
tetradic
#5E286A #6A3D28 #346A28 #28556A
square
#5E286A #6A3D28 #346A28 #28556A
split-complementary
#5E286A #556A28 #286A3D
monochromatic
#140816 #37173E #5E286A #853996 #A950BD

Accessibility & contrast

On white

10.57
#5E286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E286A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E286A#FFFFFF#000000##FFFFFF
##5E286A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#2D4168
Tritanopia (blue-blind)
#5E3245
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e286a;
/* rgb */ color: rgb(94, 40, 106);
/* oklch */ color: oklch(38.2% 0.121 320.0);
Tailwind
colors: {
  custom: {
    50: '#8e6595',
    500: '#5e286a',
    950: '#000000',
  },
}
SCSS
$custom: #5e286a;
$custom-light: #8e6595;
$custom-dark: #000000;
JSON
{
  "hex": "#5e286a",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 289.091,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.12116,
    "h": 320
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#5E286A
secondary
#5F9D51
accent
#D5536B
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E286A

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

Preview Lab → · Contrast checker → · Palette generator →

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