#58248D#58248D

#58248D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.163 H 301.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#58248D
RGBrgb(88, 36, 141)
HSLhsl(270, 59%, 35%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(37.6%, 74.5%, 0%, 44.7%)
CIE-LABlab(27.46, 44.40, -48.68)
CIE-LCHlch(27.46, 65.89, 312.36°)
OKLaboklab(39.45% 0.0862 -0.1388)
OKLCHoklch(39.45% 0.163 301.8)
XYZxyz(9.4619, 5.2595, 25.7108)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248D #598D24
analogous
#24258D #58248D #8C248D
triadic
#58248D #8D5824 #248D58
tetradic
#58248D #8D2425 #598D24 #248D8C
square
#58248D #8D2425 #598D24 #248D8C
split-complementary
#58248D #8D8C24 #258D24
monochromatic
#1B0B2B #3A185C #58248D #7630BE #9557D4

Accessibility & contrast

On white

10.23
#58248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#58248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58248D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248D#FFFFFF#000000##FFFFFF
##58248D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4D3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58248d;
/* rgb */ color: rgb(88, 36, 141);
/* oklch */ color: oklch(39.5% 0.163 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c64af',
    500: '#58248d',
    950: '#000000',
  },
}
SCSS
$custom: #58248d;
$custom-light: #8c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#58248d",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 269.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.16339,
    "h": 301.8
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#58248D
secondary
#87B854
accent
#E34595
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58248D

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

Preview Lab → · Contrast checker → · Palette generator →

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