#58236A#58236A

#58236A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.126 H 316.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#58236A
RGBrgb(88, 35, 106)
HSLhsl(285, 50%, 28%)
HSVhsv(285, 67%, 42%)
CMYKcmyk(17%, 67%, 0%, 58.4%)
CIE-LABlab(24.69, 36.41, -30.99)
CIE-LCHlch(24.69, 47.81, 319.60°)
OKLaboklab(36.65% 0.0916 -0.0868)
OKLCHoklch(36.65% 0.126 316.5)
XYZxyz(7.2267, 4.3176, 14.0856)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58236A #356A23
analogous
#35236A #58236A #6A2358
triadic
#58236A #6A5823 #236A58
tetradic
#58236A #6A3523 #356A23 #23586A
square
#58236A #6A3523 #356A23 #23586A
split-complementary
#58236A #586A23 #236A35
monochromatic
#130817 #32143C #58236A #7E3298 #A246C2

Accessibility & contrast

On white

11.27
#58236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#58236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58236A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58236A#FFFFFF#000000##FFFFFF
##58236A1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376C
Deuteranopia (green-blind)
#243C68
Tritanopia (blue-blind)
#573043
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58236a;
/* rgb */ color: rgb(88, 35, 106);
/* oklch */ color: oklch(36.7% 0.126 316.5);
Tailwind
colors: {
  custom: {
    50: '#8a6295',
    500: '#58236a',
    950: '#000000',
  },
}
SCSS
$custom: #58236a;
$custom-light: #8a6295;
$custom-dark: #000000;
JSON
{
  "hex": "#58236a",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 284.789,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.12619,
    "h": 316.5
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#58236A
secondary
#609D4B
accent
#DA4E71
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #58236A

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

Preview Lab → · Contrast checker → · Palette generator →

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