#59227C#59227C

#59227C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.148 H 309.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#59227C
RGBrgb(89, 34, 124)
HSLhsl(277, 57%, 31%)
HSVhsv(277, 73%, 49%)
CMYKcmyk(28.2%, 72.6%, 0%, 51.4%)
CIE-LABlab(25.93, 41.35, -40.51)
CIE-LCHlch(25.93, 57.89, 315.59°)
OKLaboklab(37.97% 0.0928 -0.1147)
OKLCHoklch(37.97% 0.148 309)
XYZxyz(8.3292, 4.7233, 19.5378)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59227C #457C22
analogous
#2C227C #59227C #7C2272
triadic
#59227C #7C5922 #227C59
tetradic
#59227C #7C2C22 #457C22 #22727C
square
#59227C #7C2C22 #457C22 #22727C
split-complementary
#59227C #727C22 #227C2C
monochromatic
#14081C #37154C #59227C #7B2FAC #9B4BCE

Accessibility & contrast

On white

10.80
#59227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#59227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59227C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59227C#FFFFFF#000000##FFFFFF
##59227C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#54364C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59227c;
/* rgb */ color: rgb(89, 34, 124);
/* oklch */ color: oklch(38.0% 0.148 309.0);
Tailwind
colors: {
  custom: {
    50: '#8b62a2',
    500: '#59227c',
    950: '#000000',
  },
}
SCSS
$custom: #59227c;
$custom-light: #8b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59227c",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 276.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.14755,
    "h": 309
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#59227C
secondary
#72AF4B
accent
#E04883
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59227C

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

Preview Lab → · Contrast checker → · Palette generator →

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