#58125B#58125B

#58125B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.135 H 326.2°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#58125B
RGBrgb(88, 18, 91)
HSLhsl(298, 67%, 21%)
HSVhsv(298, 80%, 36%)
CMYKcmyk(3.3%, 80.2%, 0%, 64.3%)
CIE-LABlab(21.07, 40.73, -26.93)
CIE-LCHlch(21.07, 48.82, 326.53°)
OKLaboklab(33.73% 0.112 -0.0749)
OKLCHoklch(33.73% 0.135 326.2)
XYZxyz(6.1290, 3.2631, 10.2025)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58125B #155B12
analogous
#34125B #58125B #5B123A
triadic
#58125B #5B5812 #125B58
tetradic
#58125B #5B3412 #155B12 #123A5B
square
#58125B #5B3412 #155B12 #123A5B
split-complementary
#58125B #3A5B12 #125B34
monochromatic
#19051A #270828 #58125B #891C8E #BB26C1

Accessibility & contrast

On white

12.71
#58125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#58125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58125B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58125B#FFFFFF#000000##FFFFFF
##58125B1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#233659
Tritanopia (blue-blind)
#5A1F36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58125b;
/* rgb */ color: rgb(88, 18, 91);
/* oklch */ color: oklch(33.7% 0.135 326.2);
Tailwind
colors: {
  custom: {
    50: '#8a598a',
    500: '#58125b',
    950: '#000000',
  },
}
SCSS
$custom: #58125b;
$custom-light: #8a598a;
$custom-dark: #000000;
JSON
{
  "hex": "#58125b",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 297.534,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33733,
    "c": 0.13472,
    "h": 326.2
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#58125B
secondary
#399335
accent
#EA3E45
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58125B

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

Preview Lab → · Contrast checker → · Palette generator →

#58125B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva