#58146C#58146C

#58146C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.148 H 317.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#58146C
RGBrgb(88, 20, 108)
HSLhsl(286, 69%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(18.5%, 81.5%, 0%, 57.6%)
CIE-LABlab(22.51, 43.42, -35.80)
CIE-LCHlch(22.51, 56.27, 320.49°)
OKLaboklab(35.13% 0.1083 -0.1008)
OKLCHoklch(35.13% 0.148 317.1)
XYZxyz(6.9810, 3.6580, 14.5228)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58146C #286C14
analogous
#2C146C #58146C #6C1454
triadic
#58146C #6C5814 #146C58
tetradic
#58146C #6C2C14 #286C14 #14546C
square
#58146C #6C2C14 #286C14 #14546C
split-complementary
#58146C #546C14 #146C2C
monochromatic
#15051A #2E0A38 #58146C #821EA0 #AC27D3

Accessibility & contrast

On white

12.13
#58146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#58146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58146C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58146C#FFFFFF#000000##FFFFFF
##58146C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#15386A
Tritanopia (blue-blind)
#572840
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58146c;
/* rgb */ color: rgb(88, 20, 108);
/* oklch */ color: oklch(35.1% 0.148 317.1);
Tailwind
colors: {
  custom: {
    50: '#8b5b97',
    500: '#58146c',
    950: '#000000',
  },
}
SCSS
$custom: #58146c;
$custom-light: #8b5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#58146c",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 286.364,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35134,
    "c": 0.14798,
    "h": 317.1
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#58146C
secondary
#51A339
accent
#EC3C64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #58146C

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

Preview Lab → · Contrast checker → · Palette generator →

#58146C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva