#5E1682#5E1682

#5E1682 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 310.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#5E1682
RGBrgb(94, 22, 130)
HSLhsl(280, 71%, 30%)
HSVhsv(280, 83%, 51%)
CMYKcmyk(27.7%, 83.1%, 0%, 49%)
CIE-LABlab(25.46, 48.62, -45.03)
CIE-LCHlch(25.46, 66.26, 317.19°)
OKLaboklab(37.95% 0.1103 -0.1277)
OKLCHoklch(37.95% 0.169 310.8)
XYZxyz(8.9315, 4.5654, 21.5255)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1682 #3A8216
analogous
#281682 #5E1682 #821670
triadic
#5E1682 #825E16 #16825E
tetradic
#5E1682 #822816 #3A8216 #167082
square
#5E1682 #822816 #3A8216 #167082
split-complementary
#5E1682 #708216 #168228
monochromatic
#13041A #380D4E #5E1682 #841FB6 #A535DD

Accessibility & contrast

On white

10.98
#5E1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1682
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1682#FFFFFF#000000##FFFFFF
##5E16821.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#59324D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1682;
/* rgb */ color: rgb(94, 22, 130);
/* oklch */ color: oklch(37.9% 0.169 310.8);
Tailwind
colors: {
  custom: {
    50: '#905ea7',
    500: '#5e1682',
    950: '#000000',
  },
}
SCSS
$custom: #5e1682;
$custom-light: #905ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1682",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 280,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37948,
    "c": 0.16878,
    "h": 310.8
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#5E1682
secondary
#66B73D
accent
#EE3A76
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1682

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

Preview Lab → · Contrast checker → · Palette generator →

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