#58339C#58339C

#58339C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.162 H 294.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#58339C
RGBrgb(88, 51, 156)
HSLhsl(261, 51%, 41%)
HSVhsv(261, 67%, 61%)
CMYKcmyk(43.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(31.45, 40.68, -51.41)
CIE-LCHlch(31.45, 65.56, 308.35°)
OKLaboklab(42.67% 0.0678 -0.1469)
OKLCHoklch(42.67% 0.162 294.8)
XYZxyz(11.2075, 6.8424, 32.1763)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339C #779C33
analogous
#33429C #58339C #8C339C
triadic
#58339C #9C5833 #339C58
tetradic
#58339C #9C3342 #779C33 #339C8C
square
#58339C #9C3342 #779C33 #339C8C
split-complementary
#58339C #9C8C33 #429C33
monochromatic
#241540 #3E246E #58339C #7449C3 #9777D3

Accessibility & contrast

On white

8.87
#58339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#58339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58339C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339C#FFFFFF#000000##FFFFFF
##58339C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#464C63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58339c;
/* rgb */ color: rgb(88, 51, 156);
/* oklch */ color: oklch(42.7% 0.162 294.8);
Tailwind
colors: {
  custom: {
    50: '#8d6dba',
    500: '#58339c',
    950: '#000000',
  },
}
SCSS
$custom: #58339c;
$custom-light: #8d6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#58339c",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 261.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.16179,
    "h": 294.8
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#58339C
secondary
#A0BB70
accent
#DA4EA9
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58339C

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

Preview Lab → · Contrast checker → · Palette generator →

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