#58338F#58338F

#58338F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.146 H 298.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#58338F
RGBrgb(88, 51, 143)
HSLhsl(264, 47%, 38%)
HSVhsv(264, 64%, 56%)
CMYKcmyk(38.5%, 64.3%, 0%, 43.9%)
CIE-LABlab(30.46, 37.07, -45.06)
CIE-LCHlch(30.46, 58.35, 309.45°)
OKLaboklab(41.65% 0.0691 -0.1282)
OKLCHoklch(41.65% 0.146 298.3)
XYZxyz(10.1650, 6.4254, 26.6860)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58338F #6A8F33
analogous
#333C8F #58338F #86338F
triadic
#58338F #8F5833 #338F58
tetradic
#58338F #8F333C #6A8F33 #338F86
square
#58338F #8F333C #6A8F33 #338F86
split-complementary
#58338F #8F8633 #3C8F33
monochromatic
#201335 #3C2362 #58338F #7443BC #9570CC

Accessibility & contrast

On white

9.19
#58338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#58338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58338F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58338F#FFFFFF#000000##FFFFFF
##58338F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#4B475C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58338f;
/* rgb */ color: rgb(88, 51, 143);
/* oklch */ color: oklch(41.6% 0.146 298.3);
Tailwind
colors: {
  custom: {
    50: '#8b6db0',
    500: '#58338f',
    950: '#000000',
  },
}
SCSS
$custom: #58338f;
$custom-light: #8b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#58338f",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 264.13,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.14566,
    "h": 298.3
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#58338F
secondary
#96B46A
accent
#D751A1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #58338F

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

Preview Lab → · Contrast checker → · Palette generator →

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