#58337D#58337D

#58337D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.123 H 304.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#58337D
RGBrgb(88, 51, 125)
HSLhsl(270, 42%, 35%)
HSVhsv(270, 59%, 49%)
CMYKcmyk(29.6%, 59.2%, 0%, 51%)
CIE-LABlab(29.22, 32.22, -35.86)
CIE-LCHlch(29.22, 48.21, 311.94°)
OKLaboklab(40.35% 0.0697 -0.1012)
OKLCHoklch(40.35% 0.123 304.5)
XYZxyz(8.9092, 5.9231, 20.0720)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58337D #587D33
analogous
#33337D #58337D #7D337D
triadic
#58337D #7D5833 #337D58
tetradic
#58337D #7D3333 #587D33 #337D7D
square
#58337D #7D3333 #587D33 #337D7D
split-complementary
#58337D #7D7D33 #337D33
monochromatic
#1B1026 #392152 #58337D #7745A8 #9569C2

Accessibility & contrast

On white

9.61
#58337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#58337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58337D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58337D#FFFFFF#000000##FFFFFF
##58337D1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#514153
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #58337d;
/* rgb */ color: rgb(88, 51, 125);
/* oklch */ color: oklch(40.3% 0.123 304.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ca3',
    500: '#58337d',
    950: '#000000',
  },
}
SCSS
$custom: #58337d;
$custom-light: #8a6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#58337d",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 270,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.12287,
    "h": 304.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#58337D
secondary
#86AA62
accent
#D25694
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58337D

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

Preview Lab → · Contrast checker → · Palette generator →

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