#58125F#58125F

#58125F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.138 H 323.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#58125F
RGBrgb(88, 18, 95)
HSLhsl(295, 68%, 22%)
HSVhsv(295, 81%, 37%)
CMYKcmyk(7.4%, 81.1%, 0%, 62.7%)
CIE-LABlab(21.33, 41.49, -29.16)
CIE-LCHlch(21.33, 50.71, 324.90°)
OKLaboklab(34.01% 0.1118 -0.0814)
OKLCHoklch(34.01% 0.138 323.9)
XYZxyz(6.3062, 3.3339, 11.1356)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58125F #195F12
analogous
#31125F #58125F #5F1240
triadic
#58125F #5F5812 #125F58
tetradic
#58125F #5F3112 #195F12 #12405F
square
#58125F #5F3112 #195F12 #12405F
split-complementary
#58125F #405F12 #125F31
monochromatic
#18051A #28082C #58125F #881C92 #B725C6

Accessibility & contrast

On white

12.60
#58125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#58125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58125F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58125F#FFFFFF#000000##FFFFFF
##58125F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#5A2138
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58125f;
/* rgb */ color: rgb(88, 18, 95);
/* oklch */ color: oklch(34.0% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#8a598d',
    500: '#58125f',
    950: '#000000',
  },
}
SCSS
$custom: #58125f;
$custom-light: #8a598d;
$custom-dark: #000000;
JSON
{
  "hex": "#58125f",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 294.545,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.13825,
    "h": 323.9
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#58125F
secondary
#3E9736
accent
#EB3D4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58125F

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

Preview Lab → · Contrast checker → · Palette generator →

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