#58288B#58288B

#58288B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.156 H 301.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#58288B
RGBrgb(88, 40, 139)
HSLhsl(269, 55%, 35%)
HSVhsv(269, 71%, 55%)
CMYKcmyk(36.7%, 71.2%, 0%, 45.5%)
CIE-LABlab(28.00, 41.93, -46.57)
CIE-LCHlch(28.00, 62.67, 312.00°)
OKLaboklab(39.78% 0.0824 -0.1326)
OKLCHoklch(39.78% 0.156 301.8)
XYZxyz(9.4424, 5.4563, 24.9768)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288B #5B8B28
analogous
#282A8B #58288B #89288B
triadic
#58288B #8B5828 #288B58
tetradic
#58288B #8B282A #5B8B28 #288B89
square
#58288B #8B282A #5B8B28 #288B89
split-complementary
#58288B #8B8928 #2A8B28
monochromatic
#1C0D2C #3A1A5B #58288B #7636BB #955DD0

Accessibility & contrast

On white

10.04
#58288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58288B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288B#FFFFFF#000000##FFFFFF
##58288B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#4D3F56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58288b;
/* rgb */ color: rgb(88, 40, 139);
/* oklch */ color: oklch(39.8% 0.156 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c66ae',
    500: '#58288b',
    950: '#000000',
  },
}
SCSS
$custom: #58288b;
$custom-light: #8c66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58288b",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 269.091,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.15612,
    "h": 301.8
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#58288B
secondary
#89B659
accent
#DF4996
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58288B

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

Preview Lab → · Contrast checker → · Palette generator →

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