#591275#591275

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

Color values

HEX#591275
RGBrgb(89, 18, 117)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 85%, 46%)
CMYKcmyk(23.9%, 84.6%, 0%, 54.1%)
CIE-LABlab(23.14, 46.20, -40.57)
CIE-LCHlch(23.14, 61.48, 318.71°)
OKLaboklab(35.83% 0.1096 -0.1148)
OKLCHoklch(35.83% 0.159 313.7)
XYZxyz(7.5465, 3.8411, 17.1700)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591275 #2E7512
analogous
#281275 #591275 #751260
triadic
#591275 #755912 #127559
tetradic
#591275 #752812 #2E7512 #126075
square
#591275 #752812 #2E7512 #126075
split-complementary
#591275 #607512 #127528
monochromatic
#14041B #310A40 #591275 #811AAA #A924DD

Accessibility & contrast

On white

11.88
#591275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#591275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591275
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591275#FFFFFF#000000##FFFFFF
##5912751.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#562B45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591275;
/* rgb */ color: rgb(89, 18, 117);
/* oklch */ color: oklch(35.8% 0.159 313.7);
Tailwind
colors: {
  custom: {
    50: '#8c5b9d',
    500: '#591275',
    950: '#000000',
  },
}
SCSS
$custom: #591275;
$custom-light: #8c5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#591275",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 283.03,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35832,
    "c": 0.15872,
    "h": 313.7
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#591275
secondary
#58AC37
accent
#F0386C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591275

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

Preview Lab → · Contrast checker → · Palette generator →

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