#58288A#58288A

#58288A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.155 H 302.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#58288A
RGBrgb(88, 40, 138)
HSLhsl(269, 55%, 35%)
HSVhsv(269, 71%, 54%)
CMYKcmyk(36.2%, 71%, 0%, 45.9%)
CIE-LABlab(27.92, 41.67, -46.08)
CIE-LCHlch(27.92, 62.13, 312.12°)
OKLaboklab(39.7% 0.0825 -0.1312)
OKLCHoklch(39.7% 0.155 302.2)
XYZxyz(9.3697, 5.4272, 24.5938)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288A #5A8A28
analogous
#28298A #58288A #89288A
triadic
#58288A #8A5828 #288A58
tetradic
#58288A #8A2829 #5A8A28 #288A89
square
#58288A #8A2829 #5A8A28 #288A89
split-complementary
#58288A #8A8928 #298A28
monochromatic
#1B0C2B #3A1A5B #58288A #7636B9 #955DD0

Accessibility & contrast

On white

10.07
#58288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#58288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58288A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288A#FFFFFF#000000##FFFFFF
##58288A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#4E3F56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58288a;
/* rgb */ color: rgb(88, 40, 138);
/* oklch */ color: oklch(39.7% 0.155 302.2);
Tailwind
colors: {
  custom: {
    50: '#8c66ad',
    500: '#58288a',
    950: '#000000',
  },
}
SCSS
$custom: #58288a;
$custom-light: #8c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#58288a",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 269.388,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.15497,
    "h": 302.2
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#58288A
secondary
#88B559
accent
#DE4995
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58288A

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

Preview Lab → · Contrast checker → · Palette generator →

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