#58299B#58299B

#58299B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.173 H 296.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#58299B
RGBrgb(88, 41, 155)
HSLhsl(265, 58%, 38%)
HSVhsv(265, 74%, 61%)
CMYKcmyk(43.2%, 73.5%, 0%, 39.2%)
CIE-LABlab(29.48, 45.63, -54.00)
CIE-LCHlch(29.48, 70.70, 310.20°)
OKLaboklab(41.24% 0.0783 -0.1545)
OKLCHoklch(41.24% 0.173 296.9)
XYZxyz(10.7323, 6.0269, 31.6019)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58299B #6C9B29
analogous
#29339B #58299B #91299B
triadic
#58299B #9B5829 #299B58
tetradic
#58299B #9B2933 #6C9B29 #299B91
square
#58299B #9B2933 #6C9B29 #299B91
split-complementary
#58299B #9B9129 #339B29
monochromatic
#210F3A #3D1C6B #58299B #7437CA #9567D7

Accessibility & contrast

On white

9.52
#58299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#58299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58299B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58299B#FFFFFF#000000##FFFFFF
##58299B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#47465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #58299b;
/* rgb */ color: rgb(88, 41, 155);
/* oklch */ color: oklch(41.2% 0.173 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d67b9',
    500: '#58299b',
    950: '#000000',
  },
}
SCSS
$custom: #58299b;
$custom-light: #8d67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58299b",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 264.737,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.17317,
    "h": 296.9
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#58299B
secondary
#98BD63
accent
#E146A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58299B

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

Preview Lab → · Contrast checker → · Palette generator →

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