#59227B#59227B

#59227B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.146 H 309.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#59227B
RGBrgb(89, 34, 123)
HSLhsl(277, 57%, 31%)
HSVhsv(277, 72%, 48%)
CMYKcmyk(27.6%, 72.4%, 0%, 51.8%)
CIE-LABlab(25.86, 41.11, -40.00)
CIE-LCHlch(25.86, 57.36, 315.79°)
OKLaboklab(37.9% 0.0929 -0.1132)
OKLCHoklch(37.9% 0.146 309.4)
XYZxyz(8.2663, 4.6981, 19.2064)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59227B #447B22
analogous
#2D227B #59227B #7B2270
triadic
#59227B #7B5922 #227B59
tetradic
#59227B #7B2D22 #447B22 #22707B
square
#59227B #7B2D22 #447B22 #22707B
split-complementary
#59227B #707B22 #227B2D
monochromatic
#14071B #36154B #59227B #7C2FAB #9B4ACD

Accessibility & contrast

On white

10.83
#59227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59227B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59227B#FFFFFF#000000##FFFFFF
##59227B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#54364C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59227b;
/* rgb */ color: rgb(89, 34, 123);
/* oklch */ color: oklch(37.9% 0.146 309.4);
Tailwind
colors: {
  custom: {
    50: '#8b62a2',
    500: '#59227b',
    950: '#000000',
  },
}
SCSS
$custom: #59227b;
$custom-light: #8b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59227b",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 277.079,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37898,
    "c": 0.14648,
    "h": 309.4
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#59227B
secondary
#71AE4B
accent
#E04882
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59227B

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

Preview Lab → · Contrast checker → · Palette generator →

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