#58226A#58226A

#58226A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.5% C 0.128 H 316.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#58226A
RGBrgb(88, 34, 106)
HSLhsl(285, 51%, 27%)
HSVhsv(285, 68%, 42%)
CMYKcmyk(17%, 67.9%, 0%, 58.4%)
CIE-LABlab(24.51, 36.92, -31.28)
CIE-LCHlch(24.51, 48.39, 319.73°)
OKLaboklab(36.52% 0.0929 -0.0877)
OKLCHoklch(36.52% 0.128 316.6)
XYZxyz(7.1977, 4.2596, 14.0759)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58226A #346A22
analogous
#34226A #58226A #6A2258
triadic
#58226A #6A5822 #226A58
tetradic
#58226A #6A3422 #346A22 #22586A
square
#58226A #6A3422 #346A22 #22586A
split-complementary
#58226A #586A22 #226A34
monochromatic
#130717 #32133C #58226A #7E3198 #A344C3

Accessibility & contrast

On white

11.34
#58226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#58226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58226A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58226A#FFFFFF#000000##FFFFFF
##58226A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#572F43
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58226a;
/* rgb */ color: rgb(88, 34, 106);
/* oklch */ color: oklch(36.5% 0.128 316.6);
Tailwind
colors: {
  custom: {
    50: '#8a6195',
    500: '#58226a',
    950: '#000000',
  },
}
SCSS
$custom: #58226a;
$custom-light: #8a6195;
$custom-dark: #000000;
JSON
{
  "hex": "#58226a",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 285,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.12773,
    "h": 316.6
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#58226A
secondary
#5F9E4A
accent
#DB4D70
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #58226A

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

Preview Lab → · Contrast checker → · Palette generator →

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