#58248A#58248A

#58248A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.160 H 302.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#58248A
RGBrgb(88, 36, 138)
HSLhsl(271, 59%, 34%)
HSVhsv(271, 74%, 54%)
CMYKcmyk(36.2%, 73.9%, 0%, 45.9%)
CIE-LABlab(27.22, 43.64, -47.22)
CIE-LCHlch(27.22, 64.29, 312.74°)
OKLaboklab(39.2% 0.0868 -0.1345)
OKLCHoklch(39.2% 0.16 302.8)
XYZxyz(9.2417, 5.1714, 24.5511)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248A #568A24
analogous
#25248A #58248A #8A2489
triadic
#58248A #8A5824 #248A58
tetradic
#58248A #8A2524 #568A24 #24898A
square
#58248A #8A2524 #568A24 #24898A
split-complementary
#58248A #898A24 #248A25
monochromatic
#1A0B29 #391759 #58248A #7731BB #9556D3

Accessibility & contrast

On white

10.32
#58248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#58248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58248A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248A#FFFFFF#000000##FFFFFF
##58248A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4E3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58248a;
/* rgb */ color: rgb(88, 36, 138);
/* oklch */ color: oklch(39.2% 0.160 302.8);
Tailwind
colors: {
  custom: {
    50: '#8c64ad',
    500: '#58248a',
    950: '#000000',
  },
}
SCSS
$custom: #58248a;
$custom-light: #8c64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#58248a",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 270.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39203,
    "c": 0.16007,
    "h": 302.8
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#58248A
secondary
#84B753
accent
#E24692
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58248A

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

Preview Lab → · Contrast checker → · Palette generator →

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