#58148A#58148A

#58148A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.177 H 304.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#58148A
RGBrgb(88, 20, 138)
HSLhsl(275, 75%, 31%)
HSVhsv(275, 86%, 54%)
CMYKcmyk(36.2%, 85.5%, 0%, 45.9%)
CIE-LABlab(24.98, 50.07, -50.86)
CIE-LCHlch(24.98, 71.37, 314.55°)
OKLaboklab(37.64% 0.1007 -0.1451)
OKLCHoklch(37.64% 0.177 304.8)
XYZxyz(8.8610, 4.4100, 24.4242)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58148A #468A14
analogous
#1D148A #58148A #8A1481
triadic
#58148A #8A5814 #148A58
tetradic
#58148A #8A1D14 #468A14 #14818A
square
#58148A #8A1D14 #468A14 #14818A
split-complementary
#58148A #818A14 #148A1D
monochromatic
#14051F #360C55 #58148A #7A1CBF #9936E2

Accessibility & contrast

On white

11.16
#58148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#58148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58148A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58148A#FFFFFF#000000##FFFFFF
##58148A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#4E3651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58148a;
/* rgb */ color: rgb(88, 20, 138);
/* oklch */ color: oklch(37.6% 0.177 304.8);
Tailwind
colors: {
  custom: {
    50: '#8d5cad',
    500: '#58148a',
    950: '#000000',
  },
}
SCSS
$custom: #58148a;
$custom-light: #8d5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#58148a",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 274.576,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.1766,
    "h": 304.8
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#58148A
secondary
#73BE3C
accent
#F13686
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58148A

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

Preview Lab → · Contrast checker → · Palette generator →

#58148A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva