#58236B#58236B

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

Color values

HEX#58236B
RGBrgb(88, 35, 107)
HSLhsl(284, 51%, 28%)
HSVhsv(284, 67%, 42%)
CMYKcmyk(17.8%, 67.3%, 0%, 58%)
CIE-LABlab(24.76, 36.64, -31.53)
CIE-LCHlch(24.76, 48.34, 319.29°)
OKLaboklab(36.72% 0.0915 -0.0884)
OKLCHoklch(36.72% 0.127 316)
XYZxyz(7.2790, 4.3386, 14.3611)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58236B #366B23
analogous
#34236B #58236B #6B235A
triadic
#58236B #6B5823 #236B58
tetradic
#58236B #6B3423 #366B23 #235A6B
square
#58236B #6B3423 #366B23 #235A6B
split-complementary
#58236B #5A6B23 #236B34
monochromatic
#130817 #32143D #58236B #7E3299 #A246C2

Accessibility & contrast

On white

11.24
#58236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#58236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58236B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58236B#FFFFFF#000000##FFFFFF
##58236B1.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)
#08386D
Deuteranopia (green-blind)
#233C69
Tritanopia (blue-blind)
#573043
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58236b;
/* rgb */ color: rgb(88, 35, 107);
/* oklch */ color: oklch(36.7% 0.127 316.0);
Tailwind
colors: {
  custom: {
    50: '#8a6296',
    500: '#58236b',
    950: '#000000',
  },
}
SCSS
$custom: #58236b;
$custom-light: #8a6296;
$custom-dark: #000000;
JSON
{
  "hex": "#58236b",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 284.167,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.12728,
    "h": 316
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#58236B
secondary
#619E4B
accent
#DA4E73
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #58236B

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

Preview Lab → · Contrast checker → · Palette generator →

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