#5E2076#5E2076

#5E2076 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.146 H 314.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#5E2076
RGBrgb(94, 32, 118)
HSLhsl(283, 57%, 29%)
HSVhsv(283, 73%, 46%)
CMYKcmyk(20.3%, 72.9%, 0%, 53.7%)
CIE-LABlab(25.92, 42.02, -36.67)
CIE-LCHlch(25.92, 55.78, 318.89°)
OKLaboklab(37.99% 0.1028 -0.1033)
OKLCHoklch(37.99% 0.146 314.9)
XYZxyz(8.4021, 4.7210, 17.6047)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2076 #387620
analogous
#332076 #5E2076 #762063
triadic
#5E2076 #765E20 #20765E
tetradic
#5E2076 #763320 #387620 #206376
square
#5E2076 #763320 #387620 #206376
split-complementary
#5E2076 #637620 #207633
monochromatic
#130718 #381346 #5E2076 #842DA6 #A644CC

Accessibility & contrast

On white

10.80
#5E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2076
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2076#FFFFFF#000000##FFFFFF
##5E20761.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#1D3F74
Tritanopia (blue-blind)
#5C3248
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e2076;
/* rgb */ color: rgb(94, 32, 118);
/* oklch */ color: oklch(38.0% 0.146 314.9);
Tailwind
colors: {
  custom: {
    50: '#8f619e',
    500: '#5e2076',
    950: '#000000',
  },
}
SCSS
$custom: #5e2076;
$custom-light: #8f619e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2076",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 283.256,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.14569,
    "h": 314.9
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#5E2076
secondary
#63A948
accent
#E14772
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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