#58307E#58307E

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

Color values

HEX#58307E
RGBrgb(88, 48, 126)
HSLhsl(271, 45%, 34%)
HSVhsv(271, 62%, 49%)
CMYKcmyk(30.2%, 61.9%, 0%, 50.6%)
CIE-LABlab(28.63, 34.22, -37.43)
CIE-LCHlch(28.63, 50.72, 312.44°)
OKLaboklab(39.94% 0.0738 -0.1058)
OKLCHoklch(39.94% 0.129 304.9)
XYZxyz(8.8465, 5.6950, 20.3678)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58307E #567E30
analogous
#31307E #58307E #7E307D
triadic
#58307E #7E5830 #307E58
tetradic
#58307E #7E3130 #567E30 #307D7E
square
#58307E #7E3130 #567E30 #307D7E
split-complementary
#58307E #7D7E30 #307E31
monochromatic
#1A0E25 #391F52 #58307E #7741AA #9564C4

Accessibility & contrast

On white

9.82
#58307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#58307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58307E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58307E#FFFFFF#000000##FFFFFF
##58307E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#514052
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58307e;
/* rgb */ color: rgb(88, 48, 126);
/* oklch */ color: oklch(39.9% 0.129 304.9);
Tailwind
colors: {
  custom: {
    50: '#8a6aa4',
    500: '#58307e',
    950: '#000000',
  },
}
SCSS
$custom: #58307e;
$custom-light: #8a6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#58307e",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 270.769,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.12898,
    "h": 304.9
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#58307E
secondary
#84AB5F
accent
#D55392
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58307E

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

Preview Lab → · Contrast checker → · Palette generator →

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