#591274#591274

#591274 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.158 H 314.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#591274
RGBrgb(89, 18, 116)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 84%, 45%)
CMYKcmyk(23.3%, 84.5%, 0%, 54.5%)
CIE-LABlab(23.06, 45.99, -40.06)
CIE-LCHlch(23.06, 60.99, 318.94°)
OKLaboklab(35.75% 0.1098 -0.1133)
OKLCHoklch(35.75% 0.158 314.1)
XYZxyz(7.4880, 3.8177, 16.8621)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591274 #2D7412
analogous
#281274 #591274 #74125E
triadic
#591274 #745912 #127459
tetradic
#591274 #742812 #2D7412 #125E74
square
#591274 #742812 #2D7412 #125E74
split-complementary
#591274 #5E7412 #127428
monochromatic
#14041A #300A3F #591274 #821AA9 #AA23DD

Accessibility & contrast

On white

11.91
#591274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#591274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591274
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591274#FFFFFF#000000##FFFFFF
##5912741.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#073972
Tritanopia (blue-blind)
#562A44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591274;
/* rgb */ color: rgb(89, 18, 116);
/* oklch */ color: oklch(35.8% 0.158 314.1);
Tailwind
colors: {
  custom: {
    50: '#8c5a9d',
    500: '#591274',
    950: '#000000',
  },
}
SCSS
$custom: #591274;
$custom-light: #8c5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#591274",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 283.469,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.1578,
    "h": 314.1
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#591274
secondary
#57AB37
accent
#F0386B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591274

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

Preview Lab → · Contrast checker → · Palette generator →

#591274 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva