#58337E#58337E

#58337E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.124 H 304.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#58337E
RGBrgb(88, 51, 126)
HSLhsl(270, 42%, 35%)
HSVhsv(270, 60%, 49%)
CMYKcmyk(30.2%, 59.5%, 0%, 50.6%)
CIE-LABlab(29.28, 32.49, -36.39)
CIE-LCHlch(29.28, 48.78, 311.76°)
OKLaboklab(40.41% 0.0697 -0.1027)
OKLCHoklch(40.41% 0.124 304.1)
XYZxyz(8.9734, 5.9487, 20.4101)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58337E #597E33
analogous
#33347E #58337E #7E337E
triadic
#58337E #7E5833 #337E58
tetradic
#58337E #7E3334 #597E33 #337E7E
square
#58337E #7E3334 #597E33 #337E7E
split-complementary
#58337E #7E7E33 #347E33
monochromatic
#1B1027 #3A2152 #58337E #7645AA #9569C2

Accessibility & contrast

On white

9.59
#58337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#58337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58337E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58337E#FFFFFF#000000##FFFFFF
##58337E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#514253
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #58337e;
/* rgb */ color: rgb(88, 51, 126);
/* oklch */ color: oklch(40.4% 0.124 304.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ca4',
    500: '#58337e',
    950: '#000000',
  },
}
SCSS
$custom: #58337e;
$custom-light: #8a6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#58337e",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 269.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.12415,
    "h": 304.1
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#58337E
secondary
#87AA63
accent
#D25695
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58337E

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

Preview Lab → · Contrast checker → · Palette generator →

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