#58248B#58248B

#58248B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.161 H 302.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#58248B
RGBrgb(88, 36, 139)
HSLhsl(270, 59%, 34%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(36.7%, 74.1%, 0%, 45.5%)
CIE-LABlab(27.30, 43.89, -47.71)
CIE-LCHlch(27.30, 64.83, 312.61°)
OKLaboklab(39.28% 0.0866 -0.1359)
OKLCHoklch(39.28% 0.161 302.5)
XYZxyz(9.3145, 5.2005, 24.9342)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248B #578B24
analogous
#24248B #58248B #8B248B
triadic
#58248B #8B5824 #248B58
tetradic
#58248B #8B2424 #578B24 #248B8B
square
#58248B #8B2424 #578B24 #248B8B
split-complementary
#58248B #8B8B24 #248B24
monochromatic
#1A0B2A #39175A #58248B #7731BC #9556D3

Accessibility & contrast

On white

10.29
#58248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#58248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58248B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248B#FFFFFF#000000##FFFFFF
##58248B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4D3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58248b;
/* rgb */ color: rgb(88, 36, 139);
/* oklch */ color: oklch(39.3% 0.161 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c64ae',
    500: '#58248b',
    950: '#000000',
  },
}
SCSS
$custom: #58248b;
$custom-light: #8c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58248b",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 270.291,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.16118,
    "h": 302.5
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#58248B
secondary
#85B753
accent
#E24693
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58248B

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

Preview Lab → · Contrast checker → · Palette generator →

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