#5A1465#5A1465

#5A1465 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.142 H 321.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5A1465
RGBrgb(90, 20, 101)
HSLhsl(292, 67%, 24%)
HSVhsv(292, 80%, 40%)
CMYKcmyk(10.9%, 80.2%, 0%, 60.4%)
CIE-LABlab(22.35, 42.41, -31.46)
CIE-LCHlch(22.35, 52.81, 323.43°)
OKLaboklab(34.93% 0.1119 -0.088)
OKLCHoklch(34.93% 0.142 321.8)
XYZxyz(6.8153, 3.6139, 12.6480)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1465 #1F6514
analogous
#311465 #5A1465 #651447
triadic
#5A1465 #655A14 #14655A
tetradic
#5A1465 #653114 #1F6514 #144765
square
#5A1465 #653114 #1F6514 #144765
split-complementary
#5A1465 #476514 #146531
monochromatic
#17051A #2C0A32 #5A1465 #881E98 #B528CB

Accessibility & contrast

On white

12.19
#5A1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5A1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1465
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1465#FFFFFF#000000##FFFFFF
##5A14651.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#1F3863
Tritanopia (blue-blind)
#5B243C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a1465;
/* rgb */ color: rgb(90, 20, 101);
/* oklch */ color: oklch(34.9% 0.142 321.8);
Tailwind
colors: {
  custom: {
    50: '#8c5b91',
    500: '#5a1465',
    950: '#000000',
  },
}
SCSS
$custom: #5a1465;
$custom-light: #8c5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1465",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 291.852,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.14236,
    "h": 321.8
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#5A1465
secondary
#469C39
accent
#EA3E55
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1465

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

Preview Lab → · Contrast checker → · Palette generator →

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