#58195F#58195F

#58195F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.130 H 323.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#58195F
RGBrgb(88, 25, 95)
HSLhsl(294, 58%, 24%)
HSVhsv(294, 74%, 37%)
CMYKcmyk(7.4%, 73.7%, 0%, 62.7%)
CIE-LABlab(22.29, 38.77, -27.63)
CIE-LCHlch(22.29, 47.61, 324.52°)
OKLaboklab(34.69% 0.1043 -0.077)
OKLCHoklch(34.69% 0.13 323.6)
XYZxyz(6.4375, 3.5966, 11.1794)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58195F #205F19
analogous
#35195F #58195F #5F1943
triadic
#58195F #5F5819 #195F58
tetradic
#58195F #5F3519 #205F19 #19435F
square
#58195F #5F3519 #205F19 #19435F
split-complementary
#58195F #435F19 #195F35
monochromatic
#160618 #2B0C2F #58195F #85268F #B232C0

Accessibility & contrast

On white

12.21
#58195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#58195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58195F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58195F#FFFFFF#000000##FFFFFF
##58195F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053161
Deuteranopia (green-blind)
#25385D
Tritanopia (blue-blind)
#5A253A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58195f;
/* rgb */ color: rgb(88, 25, 95);
/* oklch */ color: oklch(34.7% 0.130 323.6);
Tailwind
colors: {
  custom: {
    50: '#8a5c8d',
    500: '#58195f',
    950: '#000000',
  },
}
SCSS
$custom: #58195f;
$custom-light: #8a5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#58195f",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 294,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.12964,
    "h": 323.6
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#58195F
secondary
#47953F
accent
#E24656
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #58195F

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

Preview Lab → · Contrast checker → · Palette generator →

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