#5A1969#5A1969

#5A1969 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.140 H 319.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5A1969
RGBrgb(90, 25, 105)
HSLhsl(289, 62%, 25%)
HSVhsv(289, 76%, 41%)
CMYKcmyk(14.3%, 76.2%, 0%, 58.8%)
CIE-LABlab(23.30, 41.31, -32.55)
CIE-LCHlch(23.30, 52.59, 321.76°)
OKLaboklab(35.7% 0.1064 -0.0913)
OKLCHoklch(35.7% 0.14 319.4)
XYZxyz(7.1136, 3.8892, 13.7379)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1969 #286919
analogous
#321969 #5A1969 #691950
triadic
#5A1969 #695A19 #19695A
tetradic
#5A1969 #693219 #286919 #195069
square
#5A1969 #693219 #286919 #195069
split-complementary
#5A1969 #506919 #196932
monochromatic
#150619 #300D38 #5A1969 #84259A #AF31CC

Accessibility & contrast

On white

11.81
#5A1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5A1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1969
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1969#FFFFFF#000000##FFFFFF
##5A19691.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#1F3A67
Tritanopia (blue-blind)
#5A293F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5a1969;
/* rgb */ color: rgb(90, 25, 105);
/* oklch */ color: oklch(35.7% 0.140 319.4);
Tailwind
colors: {
  custom: {
    50: '#8c5d94',
    500: '#5a1969',
    950: '#000000',
  },
}
SCSS
$custom: #5a1969;
$custom-light: #8c5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1969",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 288.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.14017,
    "h": 319.4
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#5A1969
secondary
#519F3F
accent
#E54361
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #5A1969

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

Preview Lab → · Contrast checker → · Palette generator →

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