#5A1065#5A1065

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

Color values

HEX#5A1065
RGBrgb(90, 16, 101)
HSLhsl(292, 73%, 23%)
HSVhsv(292, 84%, 40%)
CMYKcmyk(10.9%, 84.2%, 0%, 60.4%)
CIE-LABlab(21.89, 43.76, -32.21)
CIE-LCHlch(21.89, 54.33, 323.64°)
OKLaboklab(34.6% 0.1155 -0.0902)
OKLCHoklch(34.6% 0.147 322)
XYZxyz(6.7505, 3.4842, 12.6264)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1065 #1B6510
analogous
#2F1065 #5A1065 #651045
triadic
#5A1065 #655A10 #10655A
tetradic
#5A1065 #652F10 #1B6510 #104565
square
#5A1065 #652F10 #1B6510 #104565
split-complementary
#5A1065 #456510 #10652F
monochromatic
#18041A #2B0830 #5A1065 #89189A #B821CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1065#FFFFFF#000000##FFFFFF
##5A10651.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)
#002F67
Deuteranopia (green-blind)
#1D3763
Tritanopia (blue-blind)
#5B223B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a1065;
/* rgb */ color: rgb(90, 16, 101);
/* oklch */ color: oklch(34.6% 0.147 322.0);
Tailwind
colors: {
  custom: {
    50: '#8c5991',
    500: '#5a1065',
    950: '#000000',
  },
}
SCSS
$custom: #5a1065;
$custom-light: #8c5991;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1065",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 292.235,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34604,
    "c": 0.14654,
    "h": 322
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#5A1065
secondary
#419D33
accent
#EF3850
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1065

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

Preview Lab → · Contrast checker → · Palette generator →

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