#58258D#58258D

#58258D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 301.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#58258D
RGBrgb(88, 37, 141)
HSLhsl(269, 58%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(37.6%, 73.8%, 0%, 44.7%)
CIE-LABlab(27.63, 43.92, -48.41)
CIE-LCHlch(27.63, 65.36, 312.22°)
OKLaboklab(39.57% 0.0852 -0.138)
OKLCHoklch(39.57% 0.162 301.7)
XYZxyz(9.4926, 5.3209, 25.7211)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258D #5A8D25
analogous
#25268D #58258D #8C258D
triadic
#58258D #8D5825 #258D58
tetradic
#58258D #8D2526 #5A8D25 #258D8C
square
#58258D #8D2526 #5A8D25 #258D8C
split-complementary
#58258D #8D8C25 #268D25
monochromatic
#1B0C2C #3A185D #58258D #7632BD #9559D3

Accessibility & contrast

On white

10.17
#58258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58258D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258D#FFFFFF#000000##FFFFFF
##58258D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#4D3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58258d;
/* rgb */ color: rgb(88, 37, 141);
/* oklch */ color: oklch(39.6% 0.162 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c64af',
    500: '#58258d',
    950: '#000000',
  },
}
SCSS
$custom: #58258d;
$custom-light: #8c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#58258d",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 269.423,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.16218,
    "h": 301.7
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#58258D
secondary
#88B856
accent
#E24695
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58258D

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

Preview Lab → · Contrast checker → · Palette generator →

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