#59227D#59227D

#59227D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.149 H 308.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#59227D
RGBrgb(89, 34, 125)
HSLhsl(276, 57%, 31%)
HSVhsv(276, 73%, 49%)
CMYKcmyk(28.8%, 72.8%, 0%, 51%)
CIE-LABlab(26.01, 41.59, -41.02)
CIE-LCHlch(26.01, 58.42, 315.39°)
OKLaboklab(38.05% 0.0926 -0.1162)
OKLCHoklch(38.05% 0.149 308.6)
XYZxyz(8.3928, 4.7487, 19.8725)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59227D #467D22
analogous
#2B227D #59227D #7D2273
triadic
#59227D #7D5922 #227D59
tetradic
#59227D #7D2B22 #467D22 #22737D
square
#59227D #7D2B22 #467D22 #22737D
split-complementary
#59227D #737D22 #227D2B
monochromatic
#14081D #37154D #59227D #7B2FAD #9A4BCE

Accessibility & contrast

On white

10.77
#59227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#59227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59227D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59227D#FFFFFF#000000##FFFFFF
##59227D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#53364D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59227d;
/* rgb */ color: rgb(89, 34, 125);
/* oklch */ color: oklch(38.1% 0.149 308.6);
Tailwind
colors: {
  custom: {
    50: '#8c62a3',
    500: '#59227d',
    950: '#000000',
  },
}
SCSS
$custom: #59227d;
$custom-light: #8c62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#59227d",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 276.264,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.14863,
    "h": 308.6
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#59227D
secondary
#73B04B
accent
#E04784
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59227D

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

Preview Lab → · Contrast checker → · Palette generator →

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