#5A1055#5A1055

#5A1055 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.133 H 331.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5A1055
RGBrgb(90, 16, 85)
HSLhsl(304, 70%, 21%)
HSVhsv(304, 82%, 35%)
CMYKcmyk(0%, 82.2%, 5.6%, 64.7%)
CIE-LABlab(20.83, 40.79, -23.27)
CIE-LCHlch(20.83, 46.96, 330.30°)
OKLaboklab(33.51% 0.1164 -0.0642)
OKLCHoklch(33.51% 0.133 331.1)
XYZxyz(6.0414, 3.2006, 8.8922)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1055 #105A15
analogous
#3A105A #5A1055 #5A1030
triadic
#5A1055 #555A10 #10555A
tetradic
#5A1055 #5A3A10 #105A15 #10305A
square
#5A1055 #5A3A10 #105A15 #10305A
split-complementary
#5A1055 #305A10 #105A3A
monochromatic
#1A0519 #260724 #5A1055 #8E1986 #C222B7

Accessibility & contrast

On white

12.80
#5A1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5A1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1055
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1055#FFFFFF#000000##FFFFFF
##5A10551.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#283653
Tritanopia (blue-blind)
#5E1A32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a1055;
/* rgb */ color: rgb(90, 16, 85);
/* oklch */ color: oklch(33.5% 0.133 331.1);
Tailwind
colors: {
  custom: {
    50: '#8c5885',
    500: '#5a1055',
    950: '#000000',
  },
}
SCSS
$custom: #5a1055;
$custom-light: #8c5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1055",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 304.054,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.13291,
    "h": 331.1
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#5A1055
secondary
#339339
accent
#ED473B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5A1055

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

Preview Lab → · Contrast checker → · Palette generator →

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