#58309F#58309F

#58309F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.169 H 294.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#58309F
RGBrgb(88, 48, 159)
HSLhsl(262, 54%, 41%)
HSVhsv(262, 70%, 62%)
CMYKcmyk(44.7%, 69.8%, 0%, 37.6%)
CIE-LABlab(31.09, 43.14, -53.81)
CIE-LCHlch(31.09, 68.96, 308.72°)
OKLaboklab(42.49% 0.0705 -0.1539)
OKLCHoklch(42.49% 0.169 294.6)
XYZxyz(11.3378, 6.6915, 33.4884)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58309F #779F30
analogous
#303F9F #58309F #8F309F
triadic
#58309F #9F5830 #309F58
tetradic
#58309F #9F303F #779F30 #309F8F
square
#58309F #9F303F #779F30 #309F8F
split-complementary
#58309F #9F8F30 #3F9F30
monochromatic
#241441 #3E2270 #58309F #7445C7 #9774D5

Accessibility & contrast

On white

8.98
#58309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#58309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58309F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58309F#FFFFFF#000000##FFFFFF
##58309F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#444B64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #58309f;
/* rgb */ color: rgb(88, 48, 159);
/* oklch */ color: oklch(42.5% 0.169 294.6);
Tailwind
colors: {
  custom: {
    50: '#8d6bbc',
    500: '#58309f',
    950: '#000000',
  },
}
SCSS
$custom: #58309f;
$custom-light: #8d6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#58309f",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 261.622,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.16931,
    "h": 294.6
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#58309F
secondary
#A0BD6E
accent
#DD4BA8
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58309F

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

Preview Lab → · Contrast checker → · Palette generator →

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