#5A0E53#5A0E53

#5A0E53 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 332.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5A0E53
RGBrgb(90, 14, 83)
HSLhsl(306, 73%, 20%)
HSVhsv(306, 84%, 35%)
CMYKcmyk(0%, 84.4%, 7.8%, 64.7%)
CIE-LABlab(20.49, 41.08, -22.46)
CIE-LCHlch(20.49, 46.82, 331.33°)
OKLaboklab(33.23% 0.1182 -0.0618)
OKLCHoklch(33.23% 0.133 332.4)
XYZxyz(5.9348, 3.1128, 8.4702)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E53 #0E5A15
analogous
#3B0E5A #5A0E53 #5A0E2D
triadic
#5A0E53 #535A0E #0E535A
tetradic
#5A0E53 #5A3B0E #0E5A15 #0E2D5A
square
#5A0E53 #5A3B0E #0E5A15 #0E2D5A
split-complementary
#5A0E53 #2D5A0E #0E5A3B
monochromatic
#1A0418 #250622 #5A0E53 #8F1684 #C41EB5

Accessibility & contrast

On white

12.94
#5A0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5A0E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E53
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E53#FFFFFF#000000##FFFFFF
##5A0E531.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B55
Deuteranopia (green-blind)
#283551
Tritanopia (blue-blind)
#5E1730
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a0e53;
/* rgb */ color: rgb(90, 14, 83);
/* oklch */ color: oklch(33.2% 0.133 332.4);
Tailwind
colors: {
  custom: {
    50: '#8c5783',
    500: '#5a0e53',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e53;
$custom-light: #8c5783;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e53",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 305.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.13337,
    "h": 332.4
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#5A0E53
secondary
#309439
accent
#F04938
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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