#58125E#58125E

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

Color values

HEX#58125E
RGBrgb(88, 18, 94)
HSLhsl(295, 68%, 22%)
HSVhsv(295, 81%, 37%)
CMYKcmyk(6.4%, 80.9%, 0%, 63.1%)
CIE-LABlab(21.27, 41.30, -28.61)
CIE-LCHlch(21.27, 50.24, 325.29°)
OKLaboklab(33.94% 0.1118 -0.0798)
OKLCHoklch(33.94% 0.137 324.5)
XYZxyz(6.2610, 3.3159, 10.8978)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58125E #185E12
analogous
#32125E #58125E #5E123E
triadic
#58125E #5E5812 #125E58
tetradic
#58125E #5E3212 #185E12 #123E5E
square
#58125E #5E3212 #185E12 #123E5E
split-complementary
#58125E #3E5E12 #125E32
monochromatic
#18051A #28082B #58125E #881C91 #B826C5

Accessibility & contrast

On white

12.63
#58125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58125E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58125E#FFFFFF#000000##FFFFFF
##58125E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#5A2037
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58125e;
/* rgb */ color: rgb(88, 18, 94);
/* oklch */ color: oklch(33.9% 0.137 324.5);
Tailwind
colors: {
  custom: {
    50: '#8a598c',
    500: '#58125e',
    950: '#000000',
  },
}
SCSS
$custom: #58125e;
$custom-light: #8a598c;
$custom-dark: #000000;
JSON
{
  "hex": "#58125e",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 295.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33939,
    "c": 0.13737,
    "h": 324.5
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#58125E
secondary
#3D9635
accent
#EB3D4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58125E

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

Preview Lab → · Contrast checker → · Palette generator →

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