#5A0E4E#5A0E4E

#5A0E4E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.129 H 335.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5A0E4E
RGBrgb(90, 14, 78)
HSLhsl(309, 73%, 20%)
HSVhsv(309, 84%, 35%)
CMYKcmyk(0%, 84.4%, 13.3%, 64.7%)
CIE-LABlab(20.20, 40.25, -19.54)
CIE-LCHlch(20.20, 44.74, 334.10°)
OKLaboklab(32.93% 0.1179 -0.0534)
OKLCHoklch(32.93% 0.129 335.6)
XYZxyz(5.7487, 3.0383, 7.4899)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E4E #0E5A1A
analogous
#400E5A #5A0E4E #5A0E28
triadic
#5A0E4E #4E5A0E #0E4E5A
tetradic
#5A0E4E #5A400E #0E5A1A #0E285A
square
#5A0E4E #5A400E #0E5A1A #0E285A
split-complementary
#5A0E4E #285A0E #0E5A40
monochromatic
#1A0417 #250620 #5A0E4E #8F167C #C41EAA

Accessibility & contrast

On white

13.06
#5A0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E4E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E4E#FFFFFF#000000##FFFFFF
##5A0E4E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#5F152D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a0e4e;
/* rgb */ color: rgb(90, 14, 78);
/* oklch */ color: oklch(32.9% 0.129 335.6);
Tailwind
colors: {
  custom: {
    50: '#8c5780',
    500: '#5a0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e4e;
$custom-light: #8c5780;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e4e",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 309.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32926,
    "c": 0.12946,
    "h": 335.6
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#5A0E4E
secondary
#309440
accent
#F05538
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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