#58309D#58309D

#58309D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.167 H 295.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#58309D
RGBrgb(88, 48, 157)
HSLhsl(262, 53%, 40%)
HSVhsv(262, 69%, 62%)
CMYKcmyk(43.9%, 69.4%, 0%, 38.4%)
CIE-LABlab(30.93, 42.59, -52.86)
CIE-LCHlch(30.93, 67.88, 308.86°)
OKLaboklab(42.33% 0.0709 -0.1511)
OKLCHoklch(42.33% 0.167 295.1)
XYZxyz(11.1656, 6.6227, 32.5818)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58309D #759D30
analogous
#303F9D #58309D #8E309D
triadic
#58309D #9D5830 #309D58
tetradic
#58309D #9D303F #759D30 #309D8E
square
#58309D #9D303F #759D30 #309D8E
split-complementary
#58309D #9D8E30 #3F9D30
monochromatic
#23133F #3E226E #58309D #7444C6 #9773D4

Accessibility & contrast

On white

9.03
#58309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58309D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58309D#FFFFFF#000000##FFFFFF
##58309D1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#454B62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #58309d;
/* rgb */ color: rgb(88, 48, 157);
/* oklch */ color: oklch(42.3% 0.167 295.1);
Tailwind
colors: {
  custom: {
    50: '#8d6bbb',
    500: '#58309d',
    950: '#000000',
  },
}
SCSS
$custom: #58309d;
$custom-light: #8d6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#58309d",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 262.018,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.16691,
    "h": 295.1
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#58309D
secondary
#9FBC6D
accent
#DD4BA7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58309D

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

Preview Lab → · Contrast checker → · Palette generator →

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