#58319E#58319E

#58319E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.167 H 294.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#58319E
RGBrgb(88, 49, 158)
HSLhsl(261, 53%, 41%)
HSVhsv(261, 69%, 62%)
CMYKcmyk(44.3%, 69%, 0%, 38%)
CIE-LABlab(31.21, 42.33, -53.02)
CIE-LCHlch(31.21, 67.84, 308.60°)
OKLaboklab(42.55% 0.0696 -0.1516)
OKLCHoklch(42.55% 0.167 294.7)
XYZxyz(11.2927, 6.7397, 33.0470)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58319E #779E31
analogous
#31409E #58319E #8E319E
triadic
#58319E #9E5831 #319E58
tetradic
#58319E #9E3140 #779E31 #319E8E
square
#58319E #9E3140 #779E31 #319E8E
split-complementary
#58319E #9E8E31 #409E31
monochromatic
#241441 #3E236F #58319E #7446C6 #9775D4

Accessibility & contrast

On white

8.94
#58319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#58319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58319E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58319E#FFFFFF#000000##FFFFFF
##58319E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#454C63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #58319e;
/* rgb */ color: rgb(88, 49, 158);
/* oklch */ color: oklch(42.5% 0.167 294.7);
Tailwind
colors: {
  custom: {
    50: '#8d6cbb',
    500: '#58319e',
    950: '#000000',
  },
}
SCSS
$custom: #58319e;
$custom-light: #8d6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#58319e",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 261.468,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.16683,
    "h": 294.7
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#58319E
secondary
#A0BC6E
accent
#DC4CA8
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58319E

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

Preview Lab → · Contrast checker → · Palette generator →

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