#58288C#58288C

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

Color values

HEX#58288C
RGBrgb(88, 40, 140)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 71%, 55%)
CMYKcmyk(37.1%, 71.4%, 0%, 45.1%)
CIE-LABlab(28.08, 42.19, -47.07)
CIE-LCHlch(28.08, 63.21, 311.87°)
OKLaboklab(39.86% 0.0822 -0.1341)
OKLCHoklch(39.86% 0.157 301.5)
XYZxyz(9.5158, 5.4857, 25.3634)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288C #5C8C28
analogous
#282A8C #58288C #8A288C
triadic
#58288C #8C5828 #288C58
tetradic
#58288C #8C282A #5C8C28 #288C8A
square
#58288C #8C282A #5C8C28 #288C8A
split-complementary
#58288C #8C8A28 #2A8C28
monochromatic
#1C0D2D #3A1A5C #58288C #7636BC #955ED1

Accessibility & contrast

On white

10.01
#58288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58288C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288C#FFFFFF#000000##FFFFFF
##58288C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58288c;
/* rgb */ color: rgb(88, 40, 140);
/* oklch */ color: oklch(39.9% 0.157 301.5);
Tailwind
colors: {
  custom: {
    50: '#8c66ae',
    500: '#58288c',
    950: '#000000',
  },
}
SCSS
$custom: #58288c;
$custom-light: #8c66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58288c",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 268.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.15727,
    "h": 301.5
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#58288C
secondary
#8AB65A
accent
#DF4997
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58288C

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

Preview Lab → · Contrast checker → · Palette generator →

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