#58118C#58118C

#58118C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.181 H 304.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#58118C
RGBrgb(88, 17, 140)
HSLhsl(275, 78%, 31%)
HSVhsv(275, 88%, 55%)
CMYKcmyk(37.1%, 87.9%, 0%, 45.1%)
CIE-LABlab(24.86, 51.43, -52.32)
CIE-LCHlch(24.86, 73.36, 314.51°)
OKLaboklab(37.6% 0.102 -0.1493)
OKLCHoklch(37.6% 0.181 304.3)
XYZxyz(8.9575, 4.3691, 25.1773)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58118C #458C11
analogous
#1A118C #58118C #8C1182
triadic
#58118C #8C5811 #118C58
tetradic
#58118C #8C1A11 #458C11 #11828C
square
#58118C #8C1A11 #458C11 #11828C
split-complementary
#58118C #828C11 #118C1A
monochromatic
#13041F #360A55 #58118C #7A18C3 #9A31E6

Accessibility & contrast

On white

11.21
#58118C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#58118C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58118C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58118C#FFFFFF#000000##FFFFFF
##58118C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4E3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58118c;
/* rgb */ color: rgb(88, 17, 140);
/* oklch */ color: oklch(37.6% 0.181 304.3);
Tailwind
colors: {
  custom: {
    50: '#8d5caf',
    500: '#58118c',
    950: '#000000',
  },
}
SCSS
$custom: #58118c;
$custom-light: #8d5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#58118c",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 140
  },
  "hsl": {
    "h": 274.634,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37605,
    "c": 0.18081,
    "h": 304.3
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#58118C
secondary
#72C138
accent
#F53385
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #58118C

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

Preview Lab → · Contrast checker → · Palette generator →

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