#58125D#58125D

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

Color values

HEX#58125D
RGBrgb(88, 18, 93)
HSLhsl(296, 68%, 22%)
HSVhsv(296, 81%, 36%)
CMYKcmyk(5.4%, 80.6%, 0%, 63.5%)
CIE-LABlab(21.20, 41.11, -28.05)
CIE-LCHlch(21.20, 49.76, 325.69°)
OKLaboklab(33.87% 0.1119 -0.0781)
OKLCHoklch(33.87% 0.136 325.1)
XYZxyz(6.2164, 3.2980, 10.6630)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58125D #175D12
analogous
#33125D #58125D #5D123D
triadic
#58125D #5D5812 #125D58
tetradic
#58125D #5D3312 #175D12 #123D5D
square
#58125D #5D3312 #175D12 #123D5D
split-complementary
#58125D #3D5D12 #125D33
monochromatic
#18051A #27082A #58125D #891C90 #B926C4

Accessibility & contrast

On white

12.65
#58125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58125D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58125D#FFFFFF#000000##FFFFFF
##58125D1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#5A2037
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58125d;
/* rgb */ color: rgb(88, 18, 93);
/* oklch */ color: oklch(33.9% 0.136 325.1);
Tailwind
colors: {
  custom: {
    50: '#8a598b',
    500: '#58125d',
    950: '#000000',
  },
}
SCSS
$custom: #58125d;
$custom-light: #8a598b;
$custom-dark: #000000;
JSON
{
  "hex": "#58125d",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 296,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3387,
    "c": 0.13648,
    "h": 325.1
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#58125D
secondary
#3C9535
accent
#EA3D49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58125D

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

Preview Lab → · Contrast checker → · Palette generator →

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