#58308D#58308D

#58308D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.148 H 299.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#58308D
RGBrgb(88, 48, 141)
HSLhsl(266, 49%, 37%)
HSVhsv(266, 66%, 55%)
CMYKcmyk(37.6%, 66%, 0%, 44.7%)
CIE-LABlab(29.69, 38.21, -45.07)
CIE-LCHlch(29.69, 59.08, 310.29°)
OKLaboklab(41.05% 0.0729 -0.1282)
OKLCHoklch(41.05% 0.148 299.6)
XYZxyz(9.8880, 6.1116, 25.8529)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58308D #658D30
analogous
#30378D #58308D #86308D
triadic
#58308D #8D5830 #308D58
tetradic
#58308D #8D3037 #658D30 #308D86
square
#58308D #8D3037 #658D30 #308D86
split-complementary
#58308D #8D8630 #378D30
monochromatic
#1F1132 #3C205F #58308D #7440BB #956BCD

Accessibility & contrast

On white

9.45
#58308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#58308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58308D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58308D#FFFFFF#000000##FFFFFF
##58308D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#4C455A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #58308d;
/* rgb */ color: rgb(88, 48, 141);
/* oklch */ color: oklch(41.0% 0.148 299.6);
Tailwind
colors: {
  custom: {
    50: '#8b6baf',
    500: '#58308d',
    950: '#000000',
  },
}
SCSS
$custom: #58308d;
$custom-light: #8b6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#58308d",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 265.806,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.14751,
    "h": 299.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#58308D
secondary
#92B465
accent
#D94F9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58308D

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

Preview Lab → · Contrast checker → · Palette generator →

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