#58408C#58408C

#58408C is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.6% C 0.122 H 295.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#58408C
RGBrgb(88, 64, 140)
HSLhsl(259, 37%, 40%)
HSVhsv(259, 54%, 55%)
CMYKcmyk(37.1%, 54.3%, 0%, 45.1%)
CIE-LABlab(33.21, 28.48, -38.79)
CIE-LCHlch(33.21, 48.13, 306.29°)
OKLaboklab(43.6% 0.0523 -0.1098)
OKLCHoklch(43.6% 0.122 295.5)
XYZxyz(10.5903, 7.6348, 25.7216)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58408C #748C40
analogous
#404E8C #58408C #7E408C
triadic
#58408C #8C5840 #408C58
tetradic
#58408C #8C404E #748C40 #408C7E
square
#58408C #8C404E #748C40 #408C7E
split-complementary
#58408C #8C7E40 #4E8C40
monochromatic
#231A38 #3E2D62 #58408C #7457B2 #9781C5

Accessibility & contrast

On white

8.31
#58408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#58408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58408C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58408C#FFFFFF#000000##FFFFFF
##58408C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#274D8A
Tritanopia (blue-blind)
#4C4F5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #58408c;
/* rgb */ color: rgb(88, 64, 140);
/* oklch */ color: oklch(43.6% 0.122 295.5);
Tailwind
colors: {
  custom: {
    50: '#8a75ae',
    500: '#58408c',
    950: '#000000',
  },
}
SCSS
$custom: #58408c;
$custom-light: #8a75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58408c",
  "rgb": {
    "r": 88,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 258.947,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.12163,
    "h": 295.5
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#58408C
secondary
#9EB078
accent
#CD5BA9
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #58408C

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

Preview Lab → · Contrast checker → · Palette generator →

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