#58258B#58258B

#58258B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.160 H 302.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#58258B
RGBrgb(88, 37, 139)
HSLhsl(270, 58%, 35%)
HSVhsv(270, 73%, 55%)
CMYKcmyk(36.7%, 73.4%, 0%, 45.5%)
CIE-LABlab(27.47, 43.41, -47.43)
CIE-LCHlch(27.47, 64.30, 312.47°)
OKLaboklab(39.41% 0.0856 -0.1351)
OKLCHoklch(39.41% 0.16 302.3)
XYZxyz(9.3452, 5.2619, 24.9444)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258B #588B25
analogous
#25258B #58258B #8B258B
triadic
#58258B #8B5825 #258B58
tetradic
#58258B #8B2525 #588B25 #258B8B
square
#58258B #8B2525 #588B25 #258B8B
split-complementary
#58258B #8B8B25 #258B25
monochromatic
#1B0B2A #39185B #58258B #7732BB #9558D3

Accessibility & contrast

On white

10.23
#58258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#58258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58258B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258B#FFFFFF#000000##FFFFFF
##58258B1.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)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4D3E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58258b;
/* rgb */ color: rgb(88, 37, 139);
/* oklch */ color: oklch(39.4% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#8c64ae',
    500: '#58258b',
    950: '#000000',
  },
}
SCSS
$custom: #58258b;
$custom-light: #8c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58258b",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 270,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.15995,
    "h": 302.3
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#58258B
secondary
#86B755
accent
#E14794
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58258B

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

Preview Lab → · Contrast checker → · Palette generator →

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