#58338C#58338C

#58338C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.142 H 299.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#58338C
RGBrgb(88, 51, 140)
HSLhsl(265, 47%, 37%)
HSVhsv(265, 64%, 55%)
CMYKcmyk(37.1%, 63.6%, 0%, 45.1%)
CIE-LABlab(30.24, 36.25, -43.56)
CIE-LCHlch(30.24, 56.67, 309.77°)
OKLaboklab(41.42% 0.0694 -0.1238)
OKLCHoklch(41.42% 0.142 299.3)
XYZxyz(9.9408, 6.3357, 25.5050)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58338C #678C33
analogous
#333A8C #58338C #85338C
triadic
#58338C #8C5833 #338C58
tetradic
#58338C #8C333A #678C33 #338C85
square
#58338C #8C333A #678C33 #338C85
split-complementary
#58338C #8C8533 #3A8C33
monochromatic
#201232 #3C235F #58338C #7443B9 #956FCB

Accessibility & contrast

On white

9.26
#58338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#58338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58338C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58338C#FFFFFF#000000##FFFFFF
##58338C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#0E468A
Tritanopia (blue-blind)
#4C465A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #58338c;
/* rgb */ color: rgb(88, 51, 140);
/* oklch */ color: oklch(41.4% 0.142 299.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dae',
    500: '#58338c',
    950: '#000000',
  },
}
SCSS
$custom: #58338c;
$custom-light: #8b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#58338c",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 264.944,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.14189,
    "h": 299.3
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#58338C
secondary
#94B268
accent
#D6529F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58338C

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

Preview Lab → · Contrast checker → · Palette generator →

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