#58128F#58128F

#58128F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.183 H 303.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#58128F
RGBrgb(88, 18, 143)
HSLhsl(274, 78%, 32%)
HSVhsv(274, 87%, 56%)
CMYKcmyk(38.5%, 87.4%, 0%, 43.9%)
CIE-LABlab(25.23, 51.83, -53.57)
CIE-LCHlch(25.23, 74.54, 314.06°)
OKLaboklab(37.95% 0.1003 -0.153)
OKLCHoklch(37.95% 0.183 303.2)
XYZxyz(9.1976, 4.4905, 26.3635)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58128F #498F12
analogous
#1A128F #58128F #8F1288
triadic
#58128F #8F5812 #128F58
tetradic
#58128F #8F1A12 #498F12 #12888F
square
#58128F #8F1A12 #498F12 #12888F
split-complementary
#58128F #888F12 #128F1A
monochromatic
#150422 #370B59 #58128F #7919C5 #9836E6

Accessibility & contrast

On white

11.06
#58128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#58128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58128F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58128F#FFFFFF#000000##FFFFFF
##58128F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#4C3754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58128f;
/* rgb */ color: rgb(88, 18, 143);
/* oklch */ color: oklch(37.9% 0.183 303.2);
Tailwind
colors: {
  custom: {
    50: '#8d5cb1',
    500: '#58128f',
    950: '#000000',
  },
}
SCSS
$custom: #58128f;
$custom-light: #8d5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#58128f",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 273.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37948,
    "c": 0.18294,
    "h": 303.2
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#58128F
secondary
#76C33A
accent
#F43488
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58128F

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

Preview Lab → · Contrast checker → · Palette generator →

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