#58125C#58125C

#58125C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.136 H 325.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#58125C
RGBrgb(88, 18, 92)
HSLhsl(297, 67%, 22%)
HSVhsv(297, 80%, 36%)
CMYKcmyk(4.3%, 80.4%, 0%, 63.9%)
CIE-LABlab(21.13, 40.92, -27.49)
CIE-LCHlch(21.13, 49.29, 326.10°)
OKLaboklab(33.8% 0.112 -0.0765)
OKLCHoklch(33.8% 0.136 325.7)
XYZxyz(6.1724, 3.2804, 10.4312)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58125C #165C12
analogous
#33125C #58125C #5C123B
triadic
#58125C #5C5812 #125C58
tetradic
#58125C #5C3312 #165C12 #123B5C
square
#58125C #5C3312 #165C12 #123B5C
split-complementary
#58125C #3B5C12 #125C33
monochromatic
#18051A #270829 #58125C #891C8F #BA26C2

Accessibility & contrast

On white

12.68
#58125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#58125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58125C
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58125C#FFFFFF#000000##FFFFFF
##58125C1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#5A1F36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58125c;
/* rgb */ color: rgb(88, 18, 92);
/* oklch */ color: oklch(33.8% 0.136 325.7);
Tailwind
colors: {
  custom: {
    50: '#8a598a',
    500: '#58125c',
    950: '#000000',
  },
}
SCSS
$custom: #58125c;
$custom-light: #8a598a;
$custom-dark: #000000;
JSON
{
  "hex": "#58125c",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 296.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.1356,
    "h": 325.7
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#58125C
secondary
#3B9435
accent
#EA3E47
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58125C

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

Preview Lab → · Contrast checker → · Palette generator →

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