#58108D#58108D

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

Color values

HEX#58108D
RGBrgb(88, 16, 141)
HSLhsl(275, 80%, 31%)
HSVhsv(275, 89%, 55%)
CMYKcmyk(37.6%, 88.7%, 0%, 44.7%)
CIE-LABlab(24.85, 51.94, -52.94)
CIE-LCHlch(24.85, 74.17, 314.45°)
OKLaboklab(37.63% 0.1022 -0.1512)
OKLCHoklch(37.63% 0.182 304.1)
XYZxyz(9.0164, 4.3684, 25.5623)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58108D #458D10
analogous
#19108D #58108D #8D1083
triadic
#58108D #8D5810 #108D58
tetradic
#58108D #8D1910 #458D10 #10838D
square
#58108D #8D1910 #458D10 #10838D
split-complementary
#58108D #838D10 #108D19
monochromatic
#13041F #360A56 #58108D #7A16C4 #9A30E7

Accessibility & contrast

On white

11.21
#58108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#58108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58108D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58108D#FFFFFF#000000##FFFFFF
##58108D1.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)
#003A90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#4D3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58108d;
/* rgb */ color: rgb(88, 16, 141);
/* oklch */ color: oklch(37.6% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#8d5baf',
    500: '#58108d',
    950: '#000000',
  },
}
SCSS
$custom: #58108d;
$custom-light: #8d5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#58108d",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 274.56,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.18246,
    "h": 304.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#58108D
secondary
#72C237
accent
#F63285
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #58108D

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

Preview Lab → · Contrast checker → · Palette generator →

#58108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva