#58287D#58287D

#58287D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.140 H 306.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#58287D
RGBrgb(88, 40, 125)
HSLhsl(274, 52%, 32%)
HSVhsv(274, 68%, 49%)
CMYKcmyk(29.6%, 68%, 0%, 51%)
CIE-LABlab(26.94, 38.36, -39.52)
CIE-LCHlch(26.94, 55.08, 314.15°)
OKLaboklab(38.69% 0.0842 -0.1119)
OKLCHoklch(38.69% 0.14 306.9)
XYZxyz(8.4842, 5.0731, 19.9303)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58287D #4D7D28
analogous
#2D287D #58287D #7D2878
triadic
#58287D #7D5828 #287D58
tetradic
#58287D #7D2D28 #4D7D28 #28787D
square
#58287D #7D2D28 #4D7D28 #28787D
split-complementary
#58287D #787D28 #287D2D
monochromatic
#170A20 #37194F #58287D #7937AB #9756C9

Accessibility & contrast

On white

10.42
#58287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#58287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58287D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58287D#FFFFFF#000000##FFFFFF
##58287D1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#15407B
Tritanopia (blue-blind)
#523A4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58287d;
/* rgb */ color: rgb(88, 40, 125);
/* oklch */ color: oklch(38.7% 0.140 306.9);
Tailwind
colors: {
  custom: {
    50: '#8a65a3',
    500: '#58287d',
    950: '#000000',
  },
}
SCSS
$custom: #58287d;
$custom-light: #8a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58287d",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 273.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38692,
    "c": 0.14,
    "h": 306.9
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#58287D
secondary
#7AAE53
accent
#DB4D8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58287D

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

Preview Lab → · Contrast checker → · Palette generator →

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