#58309C#58309C

#58309C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.166 H 295.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#58309C
RGBrgb(88, 48, 156)
HSLhsl(262, 53%, 40%)
HSVhsv(262, 69%, 61%)
CMYKcmyk(43.6%, 69.2%, 0%, 38.8%)
CIE-LABlab(30.85, 42.31, -52.38)
CIE-LCHlch(30.85, 67.33, 308.93°)
OKLaboklab(42.25% 0.071 -0.1497)
OKLCHoklch(42.25% 0.166 295.4)
XYZxyz(11.0806, 6.5887, 32.1340)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58309C #749C30
analogous
#303E9C #58309C #8E309C
triadic
#58309C #9C5830 #309C58
tetradic
#58309C #9C303E #749C30 #309C8E
square
#58309C #9C303E #749C30 #309C8E
split-complementary
#58309C #9C8E30 #3E9C30
monochromatic
#23133E #3E226D #58309C #7444C5 #9773D4

Accessibility & contrast

On white

9.06
#58309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#58309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58309C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58309C#FFFFFF#000000##FFFFFF
##58309C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#464A62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #58309c;
/* rgb */ color: rgb(88, 48, 156);
/* oklch */ color: oklch(42.2% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bba',
    500: '#58309c',
    950: '#000000',
  },
}
SCSS
$custom: #58309c;
$custom-light: #8d6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#58309c",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 262.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.16571,
    "h": 295.4
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#58309C
secondary
#9EBC6C
accent
#DC4BA7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58309C

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

Preview Lab → · Contrast checker → · Palette generator →

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