#5E276E#5E276E

#5E276E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.3% C 0.127 H 317.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#5E276E
RGBrgb(94, 39, 110)
HSLhsl(286, 48%, 29%)
HSVhsv(286, 65%, 43%)
CMYKcmyk(14.5%, 64.5%, 0%, 56.9%)
CIE-LABlab(26.61, 36.87, -30.46)
CIE-LCHlch(26.61, 47.82, 320.44°)
OKLaboklab(38.31% 0.0944 -0.0851)
OKLCHoklch(38.31% 0.127 317.9)
XYZxyz(8.1557, 4.9568, 15.2760)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E276E #376E27
analogous
#3B276E #5E276E #6E275B
triadic
#5E276E #6E5E27 #276E5E
tetradic
#5E276E #6E3B27 #376E27 #275B6E
square
#5E276E #6E3B27 #376E27 #275B6E
split-complementary
#5E276E #5B6E27 #276E3B
monochromatic
#130817 #371741 #5E276E #85379B #A74FC1

Accessibility & contrast

On white

10.55
#5E276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E276E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E276E#FFFFFF#000000##FFFFFF
##5E276E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#2A416C
Tritanopia (blue-blind)
#5E3346
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e276e;
/* rgb */ color: rgb(94, 39, 110);
/* oklch */ color: oklch(38.3% 0.127 317.9);
Tailwind
colors: {
  custom: {
    50: '#8e6598',
    500: '#5e276e',
    950: '#000000',
  },
}
SCSS
$custom: #5e276e;
$custom-light: #8e6598;
$custom-dark: #000000;
JSON
{
  "hex": "#5e276e",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 286.479,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.12708,
    "h": 317.9
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#5E276E
secondary
#62A150
accent
#D7516F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E276E

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

Preview Lab → · Contrast checker → · Palette generator →

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