#58307D#58307D

#58307D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 305.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#58307D
RGBrgb(88, 48, 125)
HSLhsl(271, 45%, 34%)
HSVhsv(271, 62%, 49%)
CMYKcmyk(29.6%, 61.6%, 0%, 51%)
CIE-LABlab(28.56, 33.97, -36.91)
CIE-LCHlch(28.56, 50.16, 312.62°)
OKLaboklab(39.87% 0.0738 -0.1043)
OKLCHoklch(39.87% 0.128 305.3)
XYZxyz(8.7823, 5.6693, 20.0297)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58307D #557D30
analogous
#32307D #58307D #7D307C
triadic
#58307D #7D5830 #307D58
tetradic
#58307D #7D3230 #557D30 #307C7D
square
#58307D #7D3230 #557D30 #307C7D
split-complementary
#58307D #7C7D30 #307D32
monochromatic
#1A0E25 #391F51 #58307D #7741A9 #9664C3

Accessibility & contrast

On white

9.84
#58307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#58307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58307D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58307D#FFFFFF#000000##FFFFFF
##58307D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#523F51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58307d;
/* rgb */ color: rgb(88, 48, 125);
/* oklch */ color: oklch(39.9% 0.128 305.3);
Tailwind
colors: {
  custom: {
    50: '#8a6aa3',
    500: '#58307d',
    950: '#000000',
  },
}
SCSS
$custom: #58307d;
$custom-light: #8a6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#58307d",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 271.169,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.12775,
    "h": 305.3
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#58307D
secondary
#83AB5E
accent
#D45491
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58307D

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

Preview Lab → · Contrast checker → · Palette generator →

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