#58309B#58309B

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

Color values

HEX#58309B
RGBrgb(88, 48, 155)
HSLhsl(262, 53%, 40%)
HSVhsv(262, 69%, 61%)
CMYKcmyk(43.2%, 69%, 0%, 39.2%)
CIE-LABlab(30.77, 42.03, -51.90)
CIE-LCHlch(30.77, 66.79, 309.00°)
OKLaboklab(42.16% 0.0712 -0.1483)
OKLCHoklch(42.16% 0.165 295.6)
XYZxyz(10.9963, 6.5549, 31.6899)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58309B #739B30
analogous
#303E9B #58309B #8E309B
triadic
#58309B #9B5830 #309B58
tetradic
#58309B #9B303E #739B30 #309B8E
square
#58309B #9B303E #739B30 #309B8E
split-complementary
#58309B #9B8E30 #3E9B30
monochromatic
#23133E #3D226C #58309B #7443C5 #9672D3

Accessibility & contrast

On white

9.09
#58309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#58309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58309B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58309B#FFFFFF#000000##FFFFFF
##58309B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#464A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58309b;
/* rgb */ color: rgb(88, 48, 155);
/* oklch */ color: oklch(42.2% 0.165 295.6);
Tailwind
colors: {
  custom: {
    50: '#8d6bb9',
    500: '#58309b',
    950: '#000000',
  },
}
SCSS
$custom: #58309b;
$custom-light: #8d6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#58309b",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 262.43,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.16451,
    "h": 295.6
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#58309B
secondary
#9DBB6C
accent
#DC4CA6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58309B

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

Preview Lab → · Contrast checker → · Palette generator →

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