#5A1360#5A1360

#5A1360 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.139 H 324.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#5A1360
RGBrgb(90, 19, 96)
HSLhsl(295, 67%, 23%)
HSVhsv(295, 80%, 38%)
CMYKcmyk(6.2%, 80.2%, 0%, 62.4%)
CIE-LABlab(21.89, 41.79, -28.92)
CIE-LCHlch(21.89, 50.82, 325.32°)
OKLaboklab(34.49% 0.1132 -0.0806)
OKLCHoklch(34.49% 0.139 324.6)
XYZxyz(6.5605, 3.4844, 11.3911)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1360 #196013
analogous
#341360 #5A1360 #60133F
triadic
#5A1360 #605A13 #13605A
tetradic
#5A1360 #603413 #196013 #133F60
square
#5A1360 #603413 #196013 #133F60
split-complementary
#5A1360 #3F6013 #136034
monochromatic
#18051A #2A092D #5A1360 #8A1D93 #BA27C6

Accessibility & contrast

On white

12.38
#5A1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5A1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1360
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1360#FFFFFF#000000##FFFFFF
##5A13601.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#5C2139
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a1360;
/* rgb */ color: rgb(90, 19, 96);
/* oklch */ color: oklch(34.5% 0.139 324.6);
Tailwind
colors: {
  custom: {
    50: '#8c5a8d',
    500: '#5a1360',
    950: '#000000',
  },
}
SCSS
$custom: #5a1360;
$custom-light: #8c5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1360",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 295.325,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.139,
    "h": 324.6
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#5A1360
secondary
#3E9837
accent
#EA3E4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5A1360

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

Preview Lab → · Contrast checker → · Palette generator →

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