#58287A#58287A

#58287A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.137 H 308.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#58287A
RGBrgb(88, 40, 122)
HSLhsl(275, 51%, 32%)
HSVhsv(275, 67%, 48%)
CMYKcmyk(27.9%, 67.2%, 0%, 52.2%)
CIE-LABlab(26.73, 37.62, -37.97)
CIE-LCHlch(26.73, 53.45, 314.73°)
OKLaboklab(38.47% 0.0844 -0.1073)
OKLCHoklch(38.47% 0.137 308.2)
XYZxyz(8.2954, 4.9976, 18.9362)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58287A #4A7A28
analogous
#2F287A #58287A #7A2873
triadic
#58287A #7A5828 #287A58
tetradic
#58287A #7A2F28 #4A7A28 #28737A
square
#58287A #7A2F28 #4A7A28 #28737A
split-complementary
#58287A #737A28 #287A2F
monochromatic
#160A1E #37194C #58287A #7937A8 #9855C7

Accessibility & contrast

On white

10.50
#58287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#58287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58287A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58287A#FFFFFF#000000##FFFFFF
##58287A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#194078
Tritanopia (blue-blind)
#53394D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58287a;
/* rgb */ color: rgb(88, 40, 122);
/* oklch */ color: oklch(38.5% 0.137 308.2);
Tailwind
colors: {
  custom: {
    50: '#8a65a1',
    500: '#58287a',
    950: '#000000',
  },
}
SCSS
$custom: #58287a;
$custom-light: #8a65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58287a",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 275.122,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.13653,
    "h": 308.2
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#58287A
secondary
#77AC52
accent
#DA4E88
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58287A

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

Preview Lab → · Contrast checker → · Palette generator →

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