#59227A#59227A

#59227A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.145 H 309.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#59227A
RGBrgb(89, 34, 122)
HSLhsl(278, 56%, 31%)
HSVhsv(278, 72%, 48%)
CMYKcmyk(27%, 72.1%, 0%, 52.2%)
CIE-LABlab(25.78, 40.87, -39.48)
CIE-LCHlch(25.78, 56.83, 315.99°)
OKLaboklab(37.82% 0.093 -0.1117)
OKLCHoklch(37.82% 0.145 309.8)
XYZxyz(8.2040, 4.6732, 18.8784)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59227A #437A22
analogous
#2D227A #59227A #7A226F
triadic
#59227A #7A5922 #227A59
tetradic
#59227A #7A2D22 #437A22 #226F7A
square
#59227A #7A2D22 #437A22 #226F7A
split-complementary
#59227A #6F7A22 #227A2D
monochromatic
#13071A #36154A #59227A #7C2FAA #9C4ACD

Accessibility & contrast

On white

10.85
#59227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59227A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59227A#FFFFFF#000000##FFFFFF
##59227A1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#54354B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59227a;
/* rgb */ color: rgb(89, 34, 122);
/* oklch */ color: oklch(37.8% 0.145 309.8);
Tailwind
colors: {
  custom: {
    50: '#8b62a1',
    500: '#59227a',
    950: '#000000',
  },
}
SCSS
$custom: #59227a;
$custom-light: #8b62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#59227a",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 277.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.14539,
    "h": 309.8
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#59227A
secondary
#70AD4B
accent
#E04881
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59227A

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

Preview Lab → · Contrast checker → · Palette generator →

#59227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva