#58226C#58226C

#58226C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.130 H 315.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#58226C
RGBrgb(88, 34, 108)
HSLhsl(284, 52%, 28%)
HSVhsv(284, 69%, 42%)
CMYKcmyk(18.5%, 68.5%, 0%, 57.6%)
CIE-LABlab(24.64, 37.37, -32.36)
CIE-LCHlch(24.64, 49.43, 319.11°)
OKLaboklab(36.66% 0.0928 -0.0908)
OKLCHoklch(36.66% 0.13 315.6)
XYZxyz(7.3029, 4.3017, 14.6301)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58226C #366C22
analogous
#33226C #58226C #6C225B
triadic
#58226C #6C5822 #226C58
tetradic
#58226C #6C3322 #366C22 #225B6C
square
#58226C #6C3322 #366C22 #225B6C
split-complementary
#58226C #5B6C22 #226C33
monochromatic
#130717 #32133D #58226C #7E319B #A244C4

Accessibility & contrast

On white

11.29
#58226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#58226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58226C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58226C#FFFFFF#000000##FFFFFF
##58226C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#213C6A
Tritanopia (blue-blind)
#573044
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58226c;
/* rgb */ color: rgb(88, 34, 108);
/* oklch */ color: oklch(36.7% 0.130 315.6);
Tailwind
colors: {
  custom: {
    50: '#8a6196',
    500: '#58226c',
    950: '#000000',
  },
}
SCSS
$custom: #58226c;
$custom-light: #8a6196;
$custom-dark: #000000;
JSON
{
  "hex": "#58226c",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 283.784,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.12987,
    "h": 315.6
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#58226C
secondary
#61A04A
accent
#DC4C73
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #58226C

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

Preview Lab → · Contrast checker → · Palette generator →

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