#58248C#58248C

#58248C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.162 H 302.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#58248C
RGBrgb(88, 36, 140)
HSLhsl(270, 59%, 35%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(37.1%, 74.3%, 0%, 45.1%)
CIE-LABlab(27.38, 44.14, -48.20)
CIE-LCHlch(27.38, 65.36, 312.49°)
OKLaboklab(39.37% 0.0864 -0.1374)
OKLCHoklch(39.37% 0.162 302.2)
XYZxyz(9.3879, 5.2299, 25.3207)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248C #588C24
analogous
#24248C #58248C #8C248C
triadic
#58248C #8C5824 #248C58
tetradic
#58248C #8C2424 #588C24 #248C8C
square
#58248C #8C2424 #588C24 #248C8C
split-complementary
#58248C #8C8C24 #248C24
monochromatic
#1B0B2B #39175B #58248C #7731BD #9557D4

Accessibility & contrast

On white

10.26
#58248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58248C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248C#FFFFFF#000000##FFFFFF
##58248C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58248c;
/* rgb */ color: rgb(88, 36, 140);
/* oklch */ color: oklch(39.4% 0.162 302.2);
Tailwind
colors: {
  custom: {
    50: '#8c64ae',
    500: '#58248c',
    950: '#000000',
  },
}
SCSS
$custom: #58248c;
$custom-light: #8c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58248c",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.16229,
    "h": 302.2
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#58248C
secondary
#86B854
accent
#E24694
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58248C

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

Preview Lab → · Contrast checker → · Palette generator →

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