#58339E#58339E

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

Color values

HEX#58339E
RGBrgb(88, 51, 158)
HSLhsl(261, 51%, 41%)
HSVhsv(261, 68%, 62%)
CMYKcmyk(44.3%, 67.7%, 0%, 38%)
CIE-LABlab(31.60, 41.24, -52.37)
CIE-LCHlch(31.60, 66.66, 308.22°)
OKLaboklab(42.83% 0.0675 -0.1497)
OKLCHoklch(42.83% 0.164 294.3)
XYZxyz(11.3782, 6.9107, 33.0755)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339E #799E33
analogous
#33439E #58339E #8D339E
triadic
#58339E #9E5833 #339E58
tetradic
#58339E #9E3343 #799E33 #339E8D
square
#58339E #9E3343 #799E33 #339E8D
split-complementary
#58339E #9E8D33 #439E33
monochromatic
#241541 #3E2470 #58339E #744AC4 #9878D3

Accessibility & contrast

On white

8.82
#58339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58339E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339E#FFFFFF#000000##FFFFFF
##58339E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#454D64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58339e;
/* rgb */ color: rgb(88, 51, 158);
/* oklch */ color: oklch(42.8% 0.164 294.3);
Tailwind
colors: {
  custom: {
    50: '#8d6dbb',
    500: '#58339e',
    950: '#000000',
  },
}
SCSS
$custom: #58339e;
$custom-light: #8d6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#58339e",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 260.748,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.16423,
    "h": 294.3
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#58339E
secondary
#A2BC71
accent
#DB4DAA
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58339E

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

Preview Lab → · Contrast checker → · Palette generator →

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