#5A1053#5A1053

#5A1053 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.131 H 332.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5A1053
RGBrgb(90, 16, 83)
HSLhsl(306, 70%, 21%)
HSVhsv(306, 82%, 35%)
CMYKcmyk(0%, 82.2%, 7.8%, 64.7%)
CIE-LABlab(20.71, 40.45, -22.12)
CIE-LCHlch(20.71, 46.10, 331.33°)
OKLaboklab(33.39% 0.1163 -0.0608)
OKLCHoklch(33.39% 0.131 332.4)
XYZxyz(5.9631, 3.1693, 8.4796)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1053 #105A17
analogous
#3C105A #5A1053 #5A102E
triadic
#5A1053 #535A10 #10535A
tetradic
#5A1053 #5A3C10 #105A17 #102E5A
square
#5A1053 #5A3C10 #105A17 #102E5A
split-complementary
#5A1053 #2E5A10 #105A3C
monochromatic
#1A0518 #260723 #5A1053 #8E1983 #C222B3

Accessibility & contrast

On white

12.85
#5A1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5A1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1053
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1053#FFFFFF#000000##FFFFFF
##5A10531.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B55
Deuteranopia (green-blind)
#293551
Tritanopia (blue-blind)
#5E1931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a1053;
/* rgb */ color: rgb(90, 16, 83);
/* oklch */ color: oklch(33.4% 0.131 332.4);
Tailwind
colors: {
  custom: {
    50: '#8c5883',
    500: '#5a1053',
    950: '#000000',
  },
}
SCSS
$custom: #5a1053;
$custom-light: #8c5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1053",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 305.676,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.13128,
    "h": 332.4
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#5A1053
secondary
#33933C
accent
#ED4C3B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A1053

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

Preview Lab → · Contrast checker → · Palette generator →

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