#5E2074#5E2074

#5E2074 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.144 H 315.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#5E2074
RGBrgb(94, 32, 116)
HSLhsl(284, 57%, 29%)
HSVhsv(284, 72%, 45%)
CMYKcmyk(19%, 72.4%, 0%, 54.5%)
CIE-LABlab(25.79, 41.58, -35.62)
CIE-LCHlch(25.79, 54.75, 319.42°)
OKLaboklab(37.85% 0.103 -0.1002)
OKLCHoklch(37.85% 0.144 315.8)
XYZxyz(8.2845, 4.6740, 16.9854)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2074 #367420
analogous
#342074 #5E2074 #742060
triadic
#5E2074 #745E20 #20745E
tetradic
#5E2074 #743420 #367420 #206074
square
#5E2074 #743420 #367420 #206074
split-complementary
#5E2074 #607420 #207434
monochromatic
#130718 #371344 #5E2074 #852DA4 #A843CB

Accessibility & contrast

On white

10.85
#5E2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2074
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2074#FFFFFF#000000##FFFFFF
##5E20741.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#5C3147
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e2074;
/* rgb */ color: rgb(94, 32, 116);
/* oklch */ color: oklch(37.8% 0.144 315.8);
Tailwind
colors: {
  custom: {
    50: '#8f619c',
    500: '#5e2074',
    950: '#000000',
  },
}
SCSS
$custom: #5e2074;
$custom-light: #8f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2074",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 284.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.14365,
    "h": 315.8
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#5E2074
secondary
#61A848
accent
#E04870
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E2074

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

Preview Lab → · Contrast checker → · Palette generator →

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