#58337B#58337B

#58337B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.120 H 305.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#58337B
RGBrgb(88, 51, 123)
HSLhsl(271, 41%, 34%)
HSVhsv(271, 59%, 48%)
CMYKcmyk(28.5%, 58.5%, 0%, 51.8%)
CIE-LABlab(29.09, 31.70, -34.81)
CIE-LCHlch(29.09, 47.08, 312.32°)
OKLaboklab(40.21% 0.0696 -0.0981)
OKLCHoklch(40.21% 0.12 305.4)
XYZxyz(8.7827, 5.8725, 19.4059)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58337B #567B33
analogous
#34337B #58337B #7B337A
triadic
#58337B #7B5833 #337B58
tetradic
#58337B #7B3433 #567B33 #337A7B
square
#58337B #7B3433 #567B33 #337A7B
split-complementary
#58337B #7A7B33 #337B34
monochromatic
#1A0F24 #392150 #58337B #7745A6 #9568C0

Accessibility & contrast

On white

9.66
#58337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#58337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58337B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58337B#FFFFFF#000000##FFFFFF
##58337B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#524152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #58337b;
/* rgb */ color: rgb(88, 51, 123);
/* oklch */ color: oklch(40.2% 0.120 305.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ca2',
    500: '#58337b',
    950: '#000000',
  },
}
SCSS
$custom: #58337b;
$custom-light: #8a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#58337b",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 270.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.12032,
    "h": 305.4
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#58337B
secondary
#84A862
accent
#D15792
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58337B

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

Preview Lab → · Contrast checker → · Palette generator →

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