#58147B#58147B

#58147B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.162 H 310.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#58147B
RGBrgb(88, 20, 123)
HSLhsl(280, 72%, 28%)
HSVhsv(280, 84%, 48%)
CMYKcmyk(28.5%, 83.7%, 0%, 51.8%)
CIE-LABlab(23.69, 46.66, -43.52)
CIE-LCHlch(23.69, 63.81, 317.00°)
OKLaboklab(36.34% 0.1051 -0.1235)
OKLCHoklch(36.34% 0.162 310.4)
XYZxyz(7.8491, 4.0053, 19.0947)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58147B #377B14
analogous
#25147B #58147B #7B146A
triadic
#58147B #7B5814 #147B58
tetradic
#58147B #7B2514 #377B14 #146A7B
square
#58147B #7B2514 #377B14 #146A7B
split-complementary
#58147B #6A7B14 #147B25
monochromatic
#13041A #320B46 #58147B #7E1DB0 #A12DDD

Accessibility & contrast

On white

11.66
#58147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#58147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58147B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58147B#FFFFFF#000000##FFFFFF
##58147B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#532F48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58147b;
/* rgb */ color: rgb(88, 20, 123);
/* oklch */ color: oklch(36.3% 0.162 310.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ba2',
    500: '#58147b',
    950: '#000000',
  },
}
SCSS
$custom: #58147b;
$custom-light: #8c5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#58147b",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 279.612,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.16219,
    "h": 310.4
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#58147B
secondary
#62B13A
accent
#EF3977
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58147B

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

Preview Lab → · Contrast checker → · Palette generator →

#58147B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva