#5E276A#5E276A

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

Color values

HEX#5E276A
RGBrgb(94, 39, 106)
HSLhsl(289, 46%, 28%)
HSVhsv(289, 63%, 42%)
CMYKcmyk(11.3%, 63.2%, 0%, 58.4%)
CIE-LABlab(26.37, 35.99, -28.27)
CIE-LCHlch(26.37, 45.76, 321.85°)
OKLaboklab(38.06% 0.0942 -0.0788)
OKLCHoklch(38.06% 0.123 320.1)
XYZxyz(7.9428, 4.8717, 14.1548)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E276A #336A27
analogous
#3C276A #5E276A #6A2754
triadic
#5E276A #6A5E27 #276A5E
tetradic
#5E276A #6A3C27 #336A27 #27546A
square
#5E276A #6A3C27 #336A27 #27546A
split-complementary
#5E276A #546A27 #276A3C
monochromatic
#140816 #36173D #5E276A #863797 #AA4EBE

Accessibility & contrast

On white

10.64
#5E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E276A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E276A#FFFFFF#000000##FFFFFF
##5E276A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#2D4068
Tritanopia (blue-blind)
#5F3244
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e276a;
/* rgb */ color: rgb(94, 39, 106);
/* oklch */ color: oklch(38.1% 0.123 320.1);
Tailwind
colors: {
  custom: {
    50: '#8e6595',
    500: '#5e276a',
    950: '#000000',
  },
}
SCSS
$custom: #5e276a;
$custom-light: #8e6595;
$custom-dark: #000000;
JSON
{
  "hex": "#5e276a",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 289.254,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.1228,
    "h": 320.1
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#5E276A
secondary
#5E9D50
accent
#D6526A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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