#58158C#58158C

#58158C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.178 H 304.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#58158C
RGBrgb(88, 21, 140)
HSLhsl(274, 74%, 32%)
HSVhsv(274, 85%, 55%)
CMYKcmyk(37.1%, 85%, 0%, 45.1%)
CIE-LABlab(25.27, 50.21, -51.63)
CIE-LCHlch(25.27, 72.02, 314.20°)
OKLaboklab(37.89% 0.0993 -0.1473)
OKLCHoklch(37.89% 0.178 304)
XYZxyz(9.0252, 4.5045, 25.1998)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58158C #498C15
analogous
#1D158C #58158C #8C1585
triadic
#58158C #8C5815 #158C58
tetradic
#58158C #8C1D15 #498C15 #15858C
square
#58158C #8C1D15 #498C15 #15858C
split-complementary
#58158C #858C15 #158C1D
monochromatic
#150522 #370D57 #58158C #791DC1 #983AE1

Accessibility & contrast

On white

11.05
#58158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#58158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58158C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58158C#FFFFFF#000000##FFFFFF
##58158C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58158c;
/* rgb */ color: rgb(88, 21, 140);
/* oklch */ color: oklch(37.9% 0.178 304.0);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58158c',
    950: '#000000',
  },
}
SCSS
$custom: #58158c;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58158c",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 273.782,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37893,
    "c": 0.17771,
    "h": 304
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#58158C
secondary
#76C03D
accent
#F13788
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58158C

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

Preview Lab → · Contrast checker → · Palette generator →

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