#58316A#58316A

#58316A is a dark, moderate purple. Relative luminance 0.053; OKLCH L 38.8% C 0.102 H 314.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#58316A
RGBrgb(88, 49, 106)
HSLhsl(281, 37%, 30%)
HSVhsv(281, 54%, 42%)
CMYKcmyk(17%, 53.8%, 0%, 58.4%)
CIE-LABlab(27.61, 28.62, -26.36)
CIE-LCHlch(27.61, 38.91, 317.35°)
OKLaboklab(38.78% 0.0713 -0.0735)
OKLCHoklch(38.78% 0.102 314.1)
XYZxyz(7.7239, 5.3121, 14.2513)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58316A #436A31
analogous
#3C316A #58316A #6A315F
triadic
#58316A #6A5831 #316A58
tetradic
#58316A #6A3C31 #436A31 #315F6A
square
#58316A #6A3C31 #436A31 #315F6A
split-complementary
#58316A #5F6A31 #316A3C
monochromatic
#130A16 #351E40 #58316A #7B4494 #9A60B5

Accessibility & contrast

On white

10.18
#58316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#58316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58316A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58316A#FFFFFF#000000##FFFFFF
##58316A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#573A48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58316a;
/* rgb */ color: rgb(88, 49, 106);
/* oklch */ color: oklch(38.8% 0.102 314.1);
Tailwind
colors: {
  custom: {
    50: '#896b95',
    500: '#58316a',
    950: '#000000',
  },
}
SCSS
$custom: #58316a;
$custom-light: #896b95;
$custom-dark: #000000;
JSON
{
  "hex": "#58316a",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 281.053,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.10237,
    "h": 314.1
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#58316A
secondary
#709B5C
accent
#CD5B7F
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #58316A

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

Preview Lab → · Contrast checker → · Palette generator →

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