#58287E#58287E

#58287E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 306.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#58287E
RGBrgb(88, 40, 126)
HSLhsl(273, 52%, 33%)
HSVhsv(273, 68%, 49%)
CMYKcmyk(30.2%, 68.3%, 0%, 50.6%)
CIE-LABlab(27.01, 38.61, -40.03)
CIE-LCHlch(27.01, 55.62, 313.97°)
OKLaboklab(38.77% 0.0841 -0.1134)
OKLCHoklch(38.77% 0.141 306.5)
XYZxyz(8.5484, 5.0987, 20.2684)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58287E #4E7E28
analogous
#2D287E #58287E #7E2879
triadic
#58287E #7E5828 #287E58
tetradic
#58287E #7E2D28 #4E7E28 #28797E
square
#58287E #7E2D28 #4E7E28 #28797E
split-complementary
#58287E #797E28 #287E2D
monochromatic
#170B21 #381950 #58287E #7837AC #9757CA

Accessibility & contrast

On white

10.40
#58287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#58287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58287E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58287E#FFFFFF#000000##FFFFFF
##58287E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#523A4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58287e;
/* rgb */ color: rgb(88, 40, 126);
/* oklch */ color: oklch(38.8% 0.141 306.5);
Tailwind
colors: {
  custom: {
    50: '#8b65a4',
    500: '#58287e',
    950: '#000000',
  },
}
SCSS
$custom: #58287e;
$custom-light: #8b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58287e",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 273.488,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.14116,
    "h": 306.5
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#58287E
secondary
#7CAF53
accent
#DB4D8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58287E

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

Preview Lab → · Contrast checker → · Palette generator →

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