#58186E#58186E

#58186E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.145 H 315.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#58186E
RGBrgb(88, 24, 110)
HSLhsl(285, 64%, 26%)
HSVhsv(285, 78%, 43%)
CMYKcmyk(20%, 78.2%, 0%, 56.9%)
CIE-LABlab(23.18, 42.33, -36.00)
CIE-LCHlch(23.18, 55.57, 319.62°)
OKLaboklab(35.66% 0.1042 -0.1014)
OKLCHoklch(35.66% 0.145 315.8)
XYZxyz(7.1652, 3.8540, 15.1153)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58186E #2E6E18
analogous
#2D186E #58186E #6E1859
triadic
#58186E #6E5818 #186E58
tetradic
#58186E #6E2D18 #2E6E18 #18596E
square
#58186E #6E2D18 #2E6E18 #18596E
split-complementary
#58186E #596E18 #186E2D
monochromatic
#140519 #300D3C #58186E #8023A0 #A82FD2

Accessibility & contrast

On white

11.86
#58186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#58186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58186E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58186E#FFFFFF#000000##FFFFFF
##58186E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#16396C
Tritanopia (blue-blind)
#562B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #58186e;
/* rgb */ color: rgb(88, 24, 110);
/* oklch */ color: oklch(35.7% 0.145 315.8);
Tailwind
colors: {
  custom: {
    50: '#8a5c98',
    500: '#58186e',
    950: '#000000',
  },
}
SCSS
$custom: #58186e;
$custom-light: #8a5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#58186e",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 284.651,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.14539,
    "h": 315.8
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#58186E
secondary
#58A43E
accent
#E7416B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58186E

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

Preview Lab → · Contrast checker → · Palette generator →

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