#5E2776#5E2776

#5E2776 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.136 H 314.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#5E2776
RGBrgb(94, 39, 118)
HSLhsl(282, 50%, 31%)
HSVhsv(282, 67%, 46%)
CMYKcmyk(20.3%, 66.9%, 0%, 53.7%)
CIE-LABlab(27.13, 38.67, -34.74)
CIE-LCHlch(27.13, 51.99, 318.06°)
OKLaboklab(38.85% 0.0943 -0.0977)
OKLCHoklch(38.85% 0.136 314)
XYZxyz(8.6111, 5.1390, 17.6743)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2776 #3F7627
analogous
#362776 #5E2776 #762766
triadic
#5E2776 #765E27 #27765E
tetradic
#5E2776 #763627 #3F7627 #276676
square
#5E2776 #763627 #3F7627 #276676
split-complementary
#5E2776 #667627 #277636
monochromatic
#15091A #391848 #5E2776 #8336A4 #A252C6

Accessibility & contrast

On white

10.36
#5E2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2776
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2776#FFFFFF#000000##FFFFFF
##5E27761.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#244174
Tritanopia (blue-blind)
#5C364B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2776;
/* rgb */ color: rgb(94, 39, 118);
/* oklch */ color: oklch(38.9% 0.136 314.0);
Tailwind
colors: {
  custom: {
    50: '#8e659e',
    500: '#5e2776',
    950: '#000000',
  },
}
SCSS
$custom: #5e2776;
$custom-light: #8e659e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2776",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 281.772,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.13574,
    "h": 314
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#5E2776
secondary
#6BA851
accent
#DA4E78
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D060E
muted
#7D7A7E

Preview Lab

Preview with #5E2776

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

Preview Lab → · Contrast checker → · Palette generator →

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