#58339D#58339D

#58339D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.163 H 294.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#58339D
RGBrgb(88, 51, 157)
HSLhsl(261, 51%, 41%)
HSVhsv(261, 68%, 62%)
CMYKcmyk(43.9%, 67.5%, 0%, 38.4%)
CIE-LABlab(31.52, 40.96, -51.89)
CIE-LCHlch(31.52, 66.11, 308.28°)
OKLaboklab(42.75% 0.0677 -0.1483)
OKLCHoklch(42.75% 0.163 294.5)
XYZxyz(11.2925, 6.8764, 32.6241)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339D #789D33
analogous
#33439D #58339D #8D339D
triadic
#58339D #9D5833 #339D58
tetradic
#58339D #9D3343 #789D33 #339D8D
square
#58339D #9D3343 #789D33 #339D8D
split-complementary
#58339D #9D8D33 #439D33
monochromatic
#241541 #3E246F #58339D #7449C4 #9777D3

Accessibility & contrast

On white

8.84
#58339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#58339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58339D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339D#FFFFFF#000000##FFFFFF
##58339D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#454C63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58339d;
/* rgb */ color: rgb(88, 51, 157);
/* oklch */ color: oklch(42.8% 0.163 294.5);
Tailwind
colors: {
  custom: {
    50: '#8d6dbb',
    500: '#58339d',
    950: '#000000',
  },
}
SCSS
$custom: #58339d;
$custom-light: #8d6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#58339d",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 260.943,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.16301,
    "h": 294.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#58339D
secondary
#A1BB70
accent
#DA4DA9
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58339D

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

Preview Lab → · Contrast checker → · Palette generator →

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