#58308F#58308F

#58308F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.150 H 299.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#58308F
RGBrgb(88, 48, 143)
HSLhsl(265, 50%, 37%)
HSVhsv(265, 66%, 56%)
CMYKcmyk(38.5%, 66.4%, 0%, 43.9%)
CIE-LABlab(29.84, 38.75, -46.06)
CIE-LCHlch(29.84, 60.19, 310.07°)
OKLaboklab(41.2% 0.0727 -0.1311)
OKLCHoklch(41.2% 0.15 299)
XYZxyz(10.0381, 6.1717, 26.6437)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58308F #678F30
analogous
#30388F #58308F #87308F
triadic
#58308F #8F5830 #308F58
tetradic
#58308F #8F3038 #678F30 #308F87
square
#58308F #8F3038 #678F30 #308F87
split-complementary
#58308F #8F8730 #388F30
monochromatic
#201133 #3C2161 #58308F #743FBD #956CCE

Accessibility & contrast

On white

9.40
#58308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#58308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58308F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58308F#FFFFFF#000000##FFFFFF
##58308F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#4B465B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #58308f;
/* rgb */ color: rgb(88, 48, 143);
/* oklch */ color: oklch(41.2% 0.150 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c6bb0',
    500: '#58308f',
    950: '#000000',
  },
}
SCSS
$custom: #58308f;
$custom-light: #8c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#58308f",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 265.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.14996,
    "h": 299
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#58308F
secondary
#94B566
accent
#D94F9F
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #58308F

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

Preview Lab → · Contrast checker → · Palette generator →

#58308F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva