#58258C#58258C

#58258C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.161 H 302.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#58258C
RGBrgb(88, 37, 140)
HSLhsl(270, 58%, 35%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(37.1%, 73.6%, 0%, 45.1%)
CIE-LABlab(27.55, 43.67, -47.92)
CIE-LCHlch(27.55, 64.83, 312.34°)
OKLaboklab(39.49% 0.0854 -0.1366)
OKLCHoklch(39.49% 0.161 302)
XYZxyz(9.4186, 5.2913, 25.3310)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258C #598C25
analogous
#25258C #58258C #8C258C
triadic
#58258C #8C5825 #258C58
tetradic
#58258C #8C2525 #598C25 #258C8C
square
#58258C #8C2525 #598C25 #258C8C
split-complementary
#58258C #8C8C25 #258C25
monochromatic
#1B0B2B #3A185C #58258C #7632BC #9558D3

Accessibility & contrast

On white

10.20
#58258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#58258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58258C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258C#FFFFFF#000000##FFFFFF
##58258C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58258c;
/* rgb */ color: rgb(88, 37, 140);
/* oklch */ color: oklch(39.5% 0.161 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c64ae',
    500: '#58258c',
    950: '#000000',
  },
}
SCSS
$custom: #58258c;
$custom-light: #8c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58258c",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 269.709,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39488,
    "c": 0.16107,
    "h": 302
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#58258C
secondary
#87B855
accent
#E14695
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58258C

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

Preview Lab → · Contrast checker → · Palette generator →

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