#58298B#58298B

#58298B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.155 H 301.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#58298B
RGBrgb(88, 41, 139)
HSLhsl(269, 54%, 35%)
HSVhsv(269, 71%, 55%)
CMYKcmyk(36.7%, 70.5%, 0%, 45.5%)
CIE-LABlab(28.18, 41.42, -46.28)
CIE-LCHlch(28.18, 62.11, 311.83°)
OKLaboklab(39.91% 0.0813 -0.1317)
OKLCHoklch(39.91% 0.155 301.7)
XYZxyz(9.4765, 5.5246, 24.9882)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58298B #5C8B29
analogous
#292B8B #58298B #89298B
triadic
#58298B #8B5829 #298B58
tetradic
#58298B #8B292B #5C8B29 #298B89
square
#58298B #8B292B #5C8B29 #298B89
split-complementary
#58298B #8B8929 #2B8B29
monochromatic
#1C0D2C #3A1B5C #58298B #7637BA #955FD0

Accessibility & contrast

On white

9.98
#58298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58298B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58298B#FFFFFF#000000##FFFFFF
##58298B1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#4D4057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58298b;
/* rgb */ color: rgb(88, 41, 139);
/* oklch */ color: oklch(39.9% 0.155 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c67ae',
    500: '#58298b',
    950: '#000000',
  },
}
SCSS
$custom: #58298b;
$custom-light: #8c67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58298b",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 268.776,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.1548,
    "h": 301.7
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#58298B
secondary
#8AB55B
accent
#DE4A97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58298B

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

Preview Lab → · Contrast checker → · Palette generator →

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