#58298C#58298C

#58298C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.156 H 301.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#58298C
RGBrgb(88, 41, 140)
HSLhsl(268, 55%, 35%)
HSVhsv(268, 71%, 55%)
CMYKcmyk(37.1%, 70.7%, 0%, 45.1%)
CIE-LABlab(28.26, 41.68, -46.77)
CIE-LCHlch(28.26, 62.65, 311.71°)
OKLaboklab(39.99% 0.0811 -0.1332)
OKLCHoklch(39.99% 0.156 301.3)
XYZxyz(9.5499, 5.5540, 25.3748)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58298C #5D8C29
analogous
#292B8C #58298C #89298C
triadic
#58298C #8C5829 #298C58
tetradic
#58298C #8C292B #5D8C29 #298C89
square
#58298C #8C292B #5D8C29 #298C89
split-complementary
#58298C #8C8929 #2B8C29
monochromatic
#1C0D2D #3A1B5D #58298C #7637BB #955FD0

Accessibility & contrast

On white

9.95
#58298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#58298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58298C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58298C#FFFFFF#000000##FFFFFF
##58298C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#4D4057
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58298c;
/* rgb */ color: rgb(88, 41, 140);
/* oklch */ color: oklch(40.0% 0.156 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c67ae',
    500: '#58298c',
    950: '#000000',
  },
}
SCSS
$custom: #58298c;
$custom-light: #8c67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58298c",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 268.485,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.15597,
    "h": 301.3
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#58298C
secondary
#8BB65B
accent
#DE4A98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58298C

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

Preview Lab → · Contrast checker → · Palette generator →

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