#58258A#58258A

#58258A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.159 H 302.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#58258A
RGBrgb(88, 37, 138)
HSLhsl(270, 58%, 34%)
HSVhsv(270, 73%, 54%)
CMYKcmyk(36.2%, 73.2%, 0%, 45.9%)
CIE-LABlab(27.39, 43.16, -46.94)
CIE-LCHlch(27.39, 63.76, 312.59°)
OKLaboklab(39.32% 0.0858 -0.1337)
OKLCHoklch(39.32% 0.159 302.7)
XYZxyz(9.2724, 5.2328, 24.5614)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258A #578A25
analogous
#26258A #58258A #8A258A
triadic
#58258A #8A5825 #258A58
tetradic
#58258A #8A2625 #578A25 #258A8A
square
#58258A #8A2625 #578A25 #258A8A
split-complementary
#58258A #8A8A25 #258A26
monochromatic
#1A0B29 #39185A #58258A #7732BA #9557D2

Accessibility & contrast

On white

10.26
#58258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58258A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258A#FFFFFF#000000##FFFFFF
##58258A1.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)
#00408D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4E3D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58258a;
/* rgb */ color: rgb(88, 37, 138);
/* oklch */ color: oklch(39.3% 0.159 302.7);
Tailwind
colors: {
  custom: {
    50: '#8c64ad',
    500: '#58258a',
    950: '#000000',
  },
}
SCSS
$custom: #58258a;
$custom-light: #8c64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#58258a",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 270.297,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39323,
    "c": 0.15884,
    "h": 302.7
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#58258A
secondary
#85B754
accent
#E14793
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58258A

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

Preview Lab → · Contrast checker → · Palette generator →

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