#5A1069#5A1069

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

Color values

HEX#5A1069
RGBrgb(90, 16, 105)
HSLhsl(290, 74%, 24%)
HSVhsv(290, 85%, 41%)
CMYKcmyk(14.3%, 84.8%, 0%, 58.8%)
CIE-LABlab(22.18, 44.54, -34.36)
CIE-LCHlch(22.18, 56.25, 322.36°)
OKLaboklab(34.9% 0.1149 -0.0965)
OKLCHoklch(34.9% 0.15 320)
XYZxyz(6.9512, 3.5645, 13.6837)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1069 #1F6910
analogous
#2D1069 #5A1069 #69104B
triadic
#5A1069 #695A10 #10695A
tetradic
#5A1069 #692D10 #1F6910 #104B69
square
#5A1069 #692D10 #1F6910 #104B69
split-complementary
#5A1069 #4B6910 #10692D
monochromatic
#17041B #2C0834 #5A1069 #88189E #B520D3

Accessibility & contrast

On white

12.26
#5A1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5A1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1069
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1069#FFFFFF#000000##FFFFFF
##5A10691.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#193767
Tritanopia (blue-blind)
#5A243D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a1069;
/* rgb */ color: rgb(90, 16, 105);
/* oklch */ color: oklch(34.9% 0.150 320.0);
Tailwind
colors: {
  custom: {
    50: '#8c5994',
    500: '#5a1069',
    950: '#000000',
  },
}
SCSS
$custom: #5a1069;
$custom-light: #8c5994;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1069",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 289.888,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.349,
    "c": 0.15006,
    "h": 320
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#5A1069
secondary
#46A134
accent
#F03857
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1069

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

Preview Lab → · Contrast checker → · Palette generator →

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