#58287C#58287C

#58287C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 307.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#58287C
RGBrgb(88, 40, 124)
HSLhsl(274, 51%, 32%)
HSVhsv(274, 68%, 49%)
CMYKcmyk(29%, 67.7%, 0%, 51.4%)
CIE-LABlab(26.87, 38.11, -39.00)
CIE-LCHlch(26.87, 54.53, 314.34°)
OKLaboklab(38.62% 0.0842 -0.1104)
OKLCHoklch(38.62% 0.139 307.4)
XYZxyz(8.4206, 5.0476, 19.5956)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58287C #4C7C28
analogous
#2E287C #58287C #7C2876
triadic
#58287C #7C5828 #287C58
tetradic
#58287C #7C2E28 #4C7C28 #28767C
square
#58287C #7C2E28 #4C7C28 #28767C
split-complementary
#58287C #767C28 #287C2E
monochromatic
#160A1F #37194E #58287C #7937AA #9756C8

Accessibility & contrast

On white

10.45
#58287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58287C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58287C#FFFFFF#000000##FFFFFF
##58287C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#16407A
Tritanopia (blue-blind)
#523A4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58287c;
/* rgb */ color: rgb(88, 40, 124);
/* oklch */ color: oklch(38.6% 0.139 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a65a2',
    500: '#58287c',
    950: '#000000',
  },
}
SCSS
$custom: #58287c;
$custom-light: #8a65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58287c",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 274.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.13885,
    "h": 307.4
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#58287C
secondary
#79AD52
accent
#DB4D8A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58287C

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

Preview Lab → · Contrast checker → · Palette generator →

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