#58337A#58337A

#58337A is a dark, moderate violet. Relative luminance 0.058; OKLCH L 40.1% C 0.119 H 305.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#58337A
RGBrgb(88, 51, 122)
HSLhsl(271, 41%, 34%)
HSVhsv(271, 58%, 48%)
CMYKcmyk(27.9%, 58.2%, 0%, 52.2%)
CIE-LABlab(29.02, 31.44, -34.29)
CIE-LCHlch(29.02, 46.52, 312.52°)
OKLaboklab(40.14% 0.0696 -0.0966)
OKLCHoklch(40.14% 0.119 305.8)
XYZxyz(8.7204, 5.8476, 19.0779)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58337A #557A33
analogous
#35337A #58337A #7A3379
triadic
#58337A #7A5833 #337A58
tetradic
#58337A #7A3533 #557A33 #33797A
square
#58337A #7A3533 #557A33 #33797A
split-complementary
#58337A #797A33 #337A35
monochromatic
#1A0F24 #39214F #58337A #7745A5 #9668C0

Accessibility & contrast

On white

9.68
#58337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58337A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58337A#FFFFFF#000000##FFFFFF
##58337A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#274578
Tritanopia (blue-blind)
#524051
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58337a;
/* rgb */ color: rgb(88, 51, 122);
/* oklch */ color: oklch(40.1% 0.119 305.8);
Tailwind
colors: {
  custom: {
    50: '#896ca1',
    500: '#58337a',
    950: '#000000',
  },
}
SCSS
$custom: #58337a;
$custom-light: #896ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#58337a",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 271.268,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.11904,
    "h": 305.8
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#58337A
secondary
#83A861
accent
#D15791
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #58337A

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

Preview Lab → · Contrast checker → · Palette generator →

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