#58156E#58156E

#58156E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.149 H 316.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#58156E
RGBrgb(88, 21, 110)
HSLhsl(285, 68%, 26%)
HSVhsv(285, 81%, 43%)
CMYKcmyk(20%, 80.9%, 0%, 56.9%)
CIE-LABlab(22.78, 43.48, -36.65)
CIE-LCHlch(22.78, 56.86, 319.87°)
OKLaboklab(35.38% 0.1071 -0.1033)
OKLCHoklch(35.38% 0.149 316)
XYZxyz(7.1067, 3.7371, 15.0958)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58156E #2B6E15
analogous
#2C156E #58156E #6E1557
triadic
#58156E #6E5815 #156E58
tetradic
#58156E #6E2C15 #2B6E15 #15576E
square
#58156E #6E2C15 #2B6E15 #15576E
split-complementary
#58156E #576E15 #156E2C
monochromatic
#15051A #2F0B3B #58156E #811FA1 #AA29D5

Accessibility & contrast

On white

12.02
#58156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#58156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58156E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58156E#FFFFFF#000000##FFFFFF
##58156E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#14386C
Tritanopia (blue-blind)
#562941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58156e;
/* rgb */ color: rgb(88, 21, 110);
/* oklch */ color: oklch(35.4% 0.149 316.0);
Tailwind
colors: {
  custom: {
    50: '#8b5b98',
    500: '#58156e',
    950: '#000000',
  },
}
SCSS
$custom: #58156e;
$custom-light: #8b5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#58156e",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 285.169,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.1488,
    "h": 316
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#58156E
secondary
#55A43A
accent
#EB3D68
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58156E

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

Preview Lab → · Contrast checker → · Palette generator →

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