#58128C#58128C

#58128C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.180 H 304.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#58128C
RGBrgb(88, 18, 140)
HSLhsl(274, 77%, 31%)
HSVhsv(274, 87%, 55%)
CMYKcmyk(37.1%, 87.1%, 0%, 45.1%)
CIE-LABlab(24.95, 51.14, -52.15)
CIE-LCHlch(24.95, 73.05, 314.44°)
OKLaboklab(37.67% 0.1013 -0.1489)
OKLCHoklch(37.67% 0.18 304.2)
XYZxyz(8.9733, 4.4008, 25.1826)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58128C #468C12
analogous
#1B128C #58128C #8C1283
triadic
#58128C #8C5812 #128C58
tetradic
#58128C #8C1B12 #468C12 #12838C
square
#58128C #8C1B12 #468C12 #12838C
split-complementary
#58128C #838C12 #128C1B
monochromatic
#140420 #360B56 #58128C #7A19C2 #9934E5

Accessibility & contrast

On white

11.17
#58128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#58128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58128C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58128C#FFFFFF#000000##FFFFFF
##58128C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4D3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58128c;
/* rgb */ color: rgb(88, 18, 140);
/* oklch */ color: oklch(37.7% 0.180 304.2);
Tailwind
colors: {
  custom: {
    50: '#8d5caf',
    500: '#58128c',
    950: '#000000',
  },
}
SCSS
$custom: #58128c;
$custom-light: #8d5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#58128c",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 274.426,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.18008,
    "h": 304.2
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#58128C
secondary
#73C039
accent
#F43486
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #58128C

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

Preview Lab → · Contrast checker → · Palette generator →

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