#58288D#58288D

#58288D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.158 H 301.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#58288D
RGBrgb(88, 40, 141)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 72%, 55%)
CMYKcmyk(37.6%, 71.6%, 0%, 44.7%)
CIE-LABlab(28.16, 42.45, -47.56)
CIE-LCHlch(28.16, 63.74, 311.75°)
OKLaboklab(39.94% 0.082 -0.1355)
OKLCHoklch(39.94% 0.158 301.2)
XYZxyz(9.5898, 5.5153, 25.7535)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288D #5D8D28
analogous
#282A8D #58288D #8A288D
triadic
#58288D #8D5828 #288D58
tetradic
#58288D #8D282A #5D8D28 #288D8A
square
#58288D #8D282A #5D8D28 #288D8A
split-complementary
#58288D #8D8A28 #2A8D28
monochromatic
#1C0D2E #3A1A5D #58288D #7636BD #955ED1

Accessibility & contrast

On white

9.99
#58288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#58288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58288D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288D#FFFFFF#000000##FFFFFF
##58288D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#4D4057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58288d;
/* rgb */ color: rgb(88, 40, 141);
/* oklch */ color: oklch(39.9% 0.158 301.2);
Tailwind
colors: {
  custom: {
    50: '#8c66af',
    500: '#58288d',
    950: '#000000',
  },
}
SCSS
$custom: #58288d;
$custom-light: #8c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#58288d",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 268.515,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.15841,
    "h": 301.2
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#58288D
secondary
#8BB75A
accent
#DF4998
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58288D

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

Preview Lab → · Contrast checker → · Palette generator →

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