#58298D#58298D

#58298D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.157 H 301.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#58298D
RGBrgb(88, 41, 141)
HSLhsl(268, 55%, 36%)
HSVhsv(268, 71%, 55%)
CMYKcmyk(37.6%, 70.9%, 0%, 44.7%)
CIE-LABlab(28.34, 41.94, -47.26)
CIE-LCHlch(28.34, 63.19, 311.59°)
OKLaboklab(40.07% 0.081 -0.1346)
OKLCHoklch(40.07% 0.157 301)
XYZxyz(9.6240, 5.5836, 25.7649)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58298D #5E8D29
analogous
#292C8D #58298D #8A298D
triadic
#58298D #8D5829 #298D58
tetradic
#58298D #8D292C #5E8D29 #298D8A
square
#58298D #8D292C #5E8D29 #298D8A
split-complementary
#58298D #8D8A29 #2C8D29
monochromatic
#1D0D2E #3A1B5E #58298D #7637BC #9560D1

Accessibility & contrast

On white

9.92
#58298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#58298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58298D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58298D#FFFFFF#000000##FFFFFF
##58298D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#4C4158
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58298d;
/* rgb */ color: rgb(88, 41, 141);
/* oklch */ color: oklch(40.1% 0.157 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c67af',
    500: '#58298d',
    950: '#000000',
  },
}
SCSS
$custom: #58298d;
$custom-light: #8c67af;
$custom-dark: #000000;
JSON
{
  "hex": "#58298d",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 268.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.15712,
    "h": 301
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#58298D
secondary
#8CB65B
accent
#DE4A98
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58298D

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

Preview Lab → · Contrast checker → · Palette generator →

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