#58298E#58298E

#58298E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.158 H 300.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#58298E
RGBrgb(88, 41, 142)
HSLhsl(268, 55%, 36%)
HSVhsv(268, 71%, 56%)
CMYKcmyk(38%, 71.1%, 0%, 44.3%)
CIE-LABlab(28.42, 42.20, -47.75)
CIE-LCHlch(28.42, 63.73, 311.47°)
OKLaboklab(40.16% 0.0808 -0.1361)
OKLCHoklch(40.16% 0.158 300.7)
XYZxyz(9.6987, 5.6135, 26.1585)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58298E #5F8E29
analogous
#292C8E #58298E #8A298E
triadic
#58298E #8E5829 #298E58
tetradic
#58298E #8E292C #5F8E29 #298E8A
square
#58298E #8E292C #5F8E29 #298E8A
split-complementary
#58298E #8E8A29 #2C8E29
monochromatic
#1D0E2F #3B1B5F #58298E #7537BD #9560D1

Accessibility & contrast

On white

9.89
#58298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58298E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58298E#FFFFFF#000000##FFFFFF
##58298E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58298e;
/* rgb */ color: rgb(88, 41, 142);
/* oklch */ color: oklch(40.2% 0.158 300.7);
Tailwind
colors: {
  custom: {
    50: '#8c67b0',
    500: '#58298e',
    950: '#000000',
  },
}
SCSS
$custom: #58298e;
$custom-light: #8c67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58298e",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 267.921,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.15826,
    "h": 300.7
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#58298E
secondary
#8DB75C
accent
#DF4999
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58298E

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

Preview Lab → · Contrast checker → · Palette generator →

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