#5E1D7E#5E1D7E

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

Color values

HEX#5E1D7E
RGBrgb(94, 29, 126)
HSLhsl(280, 63%, 30%)
HSVhsv(280, 77%, 49%)
CMYKcmyk(25.4%, 77%, 0%, 50.6%)
CIE-LABlab(26.05, 45.10, -41.54)
CIE-LCHlch(26.05, 61.32, 317.36°)
OKLaboklab(38.27% 0.1049 -0.1175)
OKLCHoklch(38.27% 0.158 311.7)
XYZxyz(8.8207, 4.7650, 20.1897)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D7E #3D7E1D
analogous
#2D1D7E #5E1D7E #7E1D6D
triadic
#5E1D7E #7E5E1D #1D7E5E
tetradic
#5E1D7E #7E2D1D #3D7E1D #1D6D7E
square
#5E1D7E #7E2D1D #3D7E1D #1D6D7E
split-complementary
#5E1D7E #6D7E1D #1D7E2D
monochromatic
#14061B #39124C #5E1D7E #8328B0 #A342D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1D7E#FFFFFF#000000##FFFFFF
##5E1D7E1.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)
#003B81
Deuteranopia (green-blind)
#0D3F7C
Tritanopia (blue-blind)
#5A334C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1d7e;
/* rgb */ color: rgb(94, 29, 126);
/* oklch */ color: oklch(38.3% 0.158 311.7);
Tailwind
colors: {
  custom: {
    50: '#8f60a4',
    500: '#5e1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d7e;
$custom-light: #8f60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d7e",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 280.206,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.15753,
    "h": 311.7
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#5E1D7E
secondary
#69B145
accent
#E64278
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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