#5E2078#5E2078

#5E2078 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.148 H 314.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#5E2078
RGBrgb(94, 32, 120)
HSLhsl(282, 58%, 30%)
HSVhsv(282, 73%, 47%)
CMYKcmyk(21.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(26.07, 42.47, -37.72)
CIE-LCHlch(26.07, 56.80, 318.39°)
OKLaboklab(38.14% 0.1026 -0.1063)
OKLCHoklch(38.14% 0.148 314)
XYZxyz(8.5222, 4.7691, 18.2373)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2078 #3A7820
analogous
#322078 #5E2078 #782066
triadic
#5E2078 #785E20 #20785E
tetradic
#5E2078 #783220 #3A7820 #206678
square
#5E2078 #783220 #3A7820 #206678
split-complementary
#5E2078 #667820 #207832
monochromatic
#130618 #381348 #5E2078 #842DA8 #A545CD

Accessibility & contrast

On white

10.75
#5E2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5E2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2078
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2078#FFFFFF#000000##FFFFFF
##5E20781.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#1B3F76
Tritanopia (blue-blind)
#5C324A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e2078;
/* rgb */ color: rgb(94, 32, 120);
/* oklch */ color: oklch(38.1% 0.148 314.0);
Tailwind
colors: {
  custom: {
    50: '#8f619f',
    500: '#5e2078',
    950: '#000000',
  },
}
SCSS
$custom: #5e2078;
$custom-light: #8f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2078",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 282.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.14773,
    "h": 314
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#5E2078
secondary
#66AB48
accent
#E14774
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050F
muted
#7E7A7E

Preview Lab

Preview with #5E2078

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

Preview Lab → · Contrast checker → · Palette generator →

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