#58175F#58175F

#58175F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.132 H 323.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#58175F
RGBrgb(88, 23, 95)
HSLhsl(294, 61%, 23%)
HSVhsv(294, 76%, 37%)
CMYKcmyk(7.4%, 75.8%, 0%, 62.7%)
CIE-LABlab(22.00, 39.60, -28.10)
CIE-LCHlch(22.00, 48.56, 324.64°)
OKLaboklab(34.48% 0.1066 -0.0783)
OKLCHoklch(34.48% 0.132 323.7)
XYZxyz(6.3963, 3.5141, 11.1656)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58175F #1E5F17
analogous
#34175F #58175F #5F1742
triadic
#58175F #5F5817 #175F58
tetradic
#58175F #5F3417 #1E5F17 #17425F
square
#58175F #5F3417 #1E5F17 #17425F
split-complementary
#58175F #425F17 #175F34
monochromatic
#170619 #2A0B2E #58175F #862390 #B32FC2

Accessibility & contrast

On white

12.33
#58175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#58175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58175F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58175F#FFFFFF#000000##FFFFFF
##58175F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013061
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#5A2339
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58175f;
/* rgb */ color: rgb(88, 23, 95);
/* oklch */ color: oklch(34.5% 0.132 323.7);
Tailwind
colors: {
  custom: {
    50: '#8a5b8d',
    500: '#58175f',
    950: '#000000',
  },
}
SCSS
$custom: #58175f;
$custom-light: #8a5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#58175f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 294.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.13228,
    "h": 323.7
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#58175F
secondary
#45963C
accent
#E44453
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58175F

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

Preview Lab → · Contrast checker → · Palette generator →

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