#5E286E#5E286E

#5E286E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.125 H 317.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#5E286E
RGBrgb(94, 40, 110)
HSLhsl(286, 47%, 29%)
HSVhsv(286, 64%, 43%)
CMYKcmyk(14.5%, 63.6%, 0%, 56.9%)
CIE-LABlab(26.80, 36.35, -30.15)
CIE-LCHlch(26.80, 47.23, 320.32°)
OKLaboklab(38.45% 0.093 -0.0842)
OKLCHoklch(38.45% 0.125 317.8)
XYZxyz(8.1890, 5.0234, 15.2871)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E286E #386E28
analogous
#3B286E #5E286E #6E285B
triadic
#5E286E #6E5E28 #286E5E
tetradic
#5E286E #6E3B28 #386E28 #285B6E
square
#5E286E #6E3B28 #386E28 #285B6E
split-complementary
#5E286E #5B6E28 #286E3B
monochromatic
#130816 #381841 #5E286E #84389B #A651C0

Accessibility & contrast

On white

10.48
#5E286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5E286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E286E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E286E#FFFFFF#000000##FFFFFF
##5E286E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#5E3447
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e286e;
/* rgb */ color: rgb(94, 40, 110);
/* oklch */ color: oklch(38.5% 0.125 317.8);
Tailwind
colors: {
  custom: {
    50: '#8e6598',
    500: '#5e286e',
    950: '#000000',
  },
}
SCSS
$custom: #5e286e;
$custom-light: #8e6598;
$custom-dark: #000000;
JSON
{
  "hex": "#5e286e",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 286.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.12547,
    "h": 317.8
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#5E286E
secondary
#63A051
accent
#D65170
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E286E

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

Preview Lab → · Contrast checker → · Palette generator →

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