#58188C#58188C

#58188C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.175 H 303.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#58188C
RGBrgb(88, 24, 140)
HSLhsl(273, 71%, 32%)
HSVhsv(273, 83%, 55%)
CMYKcmyk(37.1%, 82.9%, 0%, 45.1%)
CIE-LABlab(25.63, 49.17, -51.05)
CIE-LCHlch(25.63, 70.88, 313.92°)
OKLaboklab(38.14% 0.0972 -0.1457)
OKLCHoklch(38.14% 0.175 303.7)
XYZxyz(9.0836, 4.6214, 25.2193)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188C #4C8C18
analogous
#1E188C #58188C #8C1886
triadic
#58188C #8C5818 #188C58
tetradic
#58188C #8C1E18 #4C8C18 #18868C
square
#58188C #8C1E18 #4C8C18 #18868C
split-complementary
#58188C #868C18 #188C1E
monochromatic
#160624 #370F58 #58188C #7921C0 #9740DE

Accessibility & contrast

On white

10.91
#58188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#58188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58188C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188C#FFFFFF#000000##FFFFFF
##58188C1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4D3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58188c;
/* rgb */ color: rgb(88, 24, 140);
/* oklch */ color: oklch(38.1% 0.175 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eaf',
    500: '#58188c',
    950: '#000000',
  },
}
SCSS
$custom: #58188c;
$custom-light: #8d5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#58188c",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 273.103,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.1751,
    "h": 303.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#58188C
secondary
#79BF41
accent
#ED3A8B
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58188C

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

Preview Lab → · Contrast checker → · Palette generator →

#58188C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva