#58308E#58308E

#58308E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.149 H 299.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#58308E
RGBrgb(88, 48, 142)
HSLhsl(266, 49%, 37%)
HSVhsv(266, 66%, 56%)
CMYKcmyk(38%, 66.2%, 0%, 44.3%)
CIE-LABlab(29.77, 38.48, -45.56)
CIE-LCHlch(29.77, 59.64, 310.18°)
OKLaboklab(41.12% 0.0728 -0.1297)
OKLCHoklch(41.12% 0.149 299.3)
XYZxyz(9.9627, 6.1415, 26.2465)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58308E #668E30
analogous
#30378E #58308E #87308E
triadic
#58308E #8E5830 #308E58
tetradic
#58308E #8E3037 #668E30 #308E87
square
#58308E #8E3037 #668E30 #308E87
split-complementary
#58308E #8E8730 #378E30
monochromatic
#1F1133 #3C2160 #58308E #743FBC #956BCD

Accessibility & contrast

On white

9.42
#58308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58308E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58308E#FFFFFF#000000##FFFFFF
##58308E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#4C455A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #58308e;
/* rgb */ color: rgb(88, 48, 142);
/* oklch */ color: oklch(41.1% 0.149 299.3);
Tailwind
colors: {
  custom: {
    50: '#8b6bb0',
    500: '#58308e',
    950: '#000000',
  },
}
SCSS
$custom: #58308e;
$custom-light: #8b6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#58308e",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 265.532,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.14873,
    "h": 299.3
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#58308E
secondary
#93B465
accent
#D94F9E
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58308E

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

Preview Lab → · Contrast checker → · Palette generator →

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