#5A0E4F#5A0E4F

#5A0E4F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.130 H 335.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5A0E4F
RGBrgb(90, 14, 79)
HSLhsl(309, 73%, 20%)
HSVhsv(309, 84%, 35%)
CMYKcmyk(0%, 84.4%, 12.2%, 64.7%)
CIE-LABlab(20.25, 40.41, -20.13)
CIE-LCHlch(20.25, 45.14, 333.52°)
OKLaboklab(32.99% 0.118 -0.0551)
OKLCHoklch(32.99% 0.13 335)
XYZxyz(5.7848, 3.0528, 7.6802)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E4F #0E5A19
analogous
#3F0E5A #5A0E4F #5A0E29
triadic
#5A0E4F #4F5A0E #0E4F5A
tetradic
#5A0E4F #5A3F0E #0E5A19 #0E295A
square
#5A0E4F #5A3F0E #0E5A19 #0E295A
split-complementary
#5A0E4F #295A0E #0E5A3F
monochromatic
#1A0417 #250621 #5A0E4F #8F167D #C41EAC

Accessibility & contrast

On white

13.04
#5A0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E4F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E4F#FFFFFF#000000##FFFFFF
##5A0E4F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#5F152E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a0e4f;
/* rgb */ color: rgb(90, 14, 79);
/* oklch */ color: oklch(33.0% 0.130 335.0);
Tailwind
colors: {
  custom: {
    50: '#8c5780',
    500: '#5a0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e4f;
$custom-light: #8c5780;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e4f",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 308.684,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.13023,
    "h": 335
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#5A0E4F
secondary
#30943E
accent
#F05338
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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