#58338A#58338A

#58338A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.139 H 299.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#58338A
RGBrgb(88, 51, 138)
HSLhsl(266, 46%, 37%)
HSVhsv(266, 63%, 54%)
CMYKcmyk(36.2%, 63%, 0%, 45.9%)
CIE-LABlab(30.10, 35.70, -42.55)
CIE-LCHlch(30.10, 55.54, 310.00°)
OKLaboklab(41.27% 0.0695 -0.1208)
OKLCHoklch(41.27% 0.139 299.9)
XYZxyz(9.7947, 6.2773, 24.7354)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58338A #658A33
analogous
#333A8A #58338A #84338A
triadic
#58338A #8A5833 #338A58
tetradic
#58338A #8A333A #658A33 #338A84
square
#58338A #8A333A #658A33 #338A84
split-complementary
#58338A #8A8433 #3A8A33
monochromatic
#1F1231 #3C225D #58338A #7444B7 #956EC9

Accessibility & contrast

On white

9.31
#58338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#58338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58338A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58338A#FFFFFF#000000##FFFFFF
##58338A1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#4D4659
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #58338a;
/* rgb */ color: rgb(88, 51, 138);
/* oklch */ color: oklch(41.3% 0.139 299.9);
Tailwind
colors: {
  custom: {
    50: '#8b6dad',
    500: '#58338a',
    950: '#000000',
  },
}
SCSS
$custom: #58338a;
$custom-light: #8b6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#58338a",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 265.517,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.13937,
    "h": 299.9
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#58338A
secondary
#92B167
accent
#D6529E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58338A

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

Preview Lab → · Contrast checker → · Palette generator →

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