#58226E#58226E

#58226E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.132 H 314.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#58226E
RGBrgb(88, 34, 110)
HSLhsl(283, 53%, 28%)
HSVhsv(283, 69%, 43%)
CMYKcmyk(20%, 69.1%, 0%, 56.9%)
CIE-LABlab(24.78, 37.83, -33.43)
CIE-LCHlch(24.78, 50.48, 318.53°)
OKLaboklab(36.8% 0.0927 -0.094)
OKLCHoklch(36.8% 0.132 314.6)
XYZxyz(7.4105, 4.3448, 15.1971)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58226E #386E22
analogous
#32226E #58226E #6E225E
triadic
#58226E #6E5822 #226E58
tetradic
#58226E #6E3222 #386E22 #225E6E
square
#58226E #6E3222 #386E22 #225E6E
split-complementary
#58226E #5E6E22 #226E32
monochromatic
#130717 #33143F #58226E #7D309D #A045C5

Accessibility & contrast

On white

11.24
#58226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#58226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58226E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58226E#FFFFFF#000000##FFFFFF
##58226E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#1F3C6C
Tritanopia (blue-blind)
#563145
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58226e;
/* rgb */ color: rgb(88, 34, 110);
/* oklch */ color: oklch(36.8% 0.132 314.6);
Tailwind
colors: {
  custom: {
    50: '#8a6198',
    500: '#58226e',
    950: '#000000',
  },
}
SCSS
$custom: #58226e;
$custom-light: #8a6198;
$custom-dark: #000000;
JSON
{
  "hex": "#58226e",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 282.632,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.368,
    "c": 0.13203,
    "h": 314.6
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#58226E
secondary
#64A14A
accent
#DC4C75
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #58226E

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

Preview Lab → · Contrast checker → · Palette generator →

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