#58288E#58288E

#58288E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.160 H 300.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#58288E
RGBrgb(88, 40, 142)
HSLhsl(268, 56%, 36%)
HSVhsv(268, 72%, 56%)
CMYKcmyk(38%, 71.8%, 0%, 44.3%)
CIE-LABlab(28.23, 42.71, -48.05)
CIE-LCHlch(28.23, 64.28, 311.63°)
OKLaboklab(40.03% 0.0819 -0.1369)
OKLCHoklch(40.03% 0.16 300.9)
XYZxyz(9.6646, 5.5452, 26.1471)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288E #5E8E28
analogous
#282B8E #58288E #8B288E
triadic
#58288E #8E5828 #288E58
tetradic
#58288E #8E282B #5E8E28 #288E8B
square
#58288E #8E282B #5E8E28 #288E8B
split-complementary
#58288E #8E8B28 #2B8E28
monochromatic
#1D0D2F #3A1B5E #58288E #7635BE #955FD2

Accessibility & contrast

On white

9.96
#58288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#58288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58288E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288E#FFFFFF#000000##FFFFFF
##58288E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#4C4058
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58288e;
/* rgb */ color: rgb(88, 40, 142);
/* oklch */ color: oklch(40.0% 0.160 300.9);
Tailwind
colors: {
  custom: {
    50: '#8c66b0',
    500: '#58288e',
    950: '#000000',
  },
}
SCSS
$custom: #58288e;
$custom-light: #8c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58288e",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 268.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.15956,
    "h": 300.9
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#58288E
secondary
#8CB75B
accent
#DF4898
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58288E

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

Preview Lab → · Contrast checker → · Palette generator →

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