#58235B#58235B

#58235B is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.7% C 0.110 H 325.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#58235B
RGBrgb(88, 35, 91)
HSLhsl(297, 44%, 25%)
HSVhsv(297, 62%, 36%)
CMYKcmyk(3.3%, 61.5%, 0%, 64.3%)
CIE-LABlab(23.78, 33.15, -22.64)
CIE-LCHlch(23.78, 40.14, 325.68°)
OKLaboklab(35.69% 0.0909 -0.0625)
OKLCHoklch(35.69% 0.11 325.5)
XYZxyz(6.5137, 4.0325, 10.3308)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58235B #265B23
analogous
#3C235B #58235B #5B2342
triadic
#58235B #5B5823 #235B58
tetradic
#58235B #5B3C23 #265B23 #23425B
square
#58235B #5B3C23 #265B23 #23425B
split-complementary
#58235B #425B23 #235B3C
monochromatic
#150916 #2D122F #58235B #833487 #AD45B3

Accessibility & contrast

On white

11.63
#58235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#58235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58235B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58235B#FFFFFF#000000##FFFFFF
##58235B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345D
Deuteranopia (green-blind)
#2D3B59
Tritanopia (blue-blind)
#5A2A3B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58235b;
/* rgb */ color: rgb(88, 35, 91);
/* oklch */ color: oklch(35.7% 0.110 325.5);
Tailwind
colors: {
  custom: {
    50: '#896189',
    500: '#58235b',
    950: '#000000',
  },
}
SCSS
$custom: #58235b;
$custom-light: #896189;
$custom-dark: #000000;
JSON
{
  "hex": "#58235b",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 296.786,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.11033,
    "h": 325.5
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#58235B
secondary
#4F8F4B
accent
#D4545B
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #58235B

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

Preview Lab → · Contrast checker → · Palette generator →

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