#58327B#58327B

#58327B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.122 H 305.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#58327B
RGBrgb(88, 50, 123)
HSLhsl(271, 42%, 34%)
HSVhsv(271, 59%, 48%)
CMYKcmyk(28.5%, 59.3%, 0%, 51.8%)
CIE-LABlab(28.87, 32.29, -35.17)
CIE-LCHlch(28.87, 47.74, 312.55°)
OKLaboklab(40.05% 0.071 -0.0992)
OKLCHoklch(40.05% 0.122 305.6)
XYZxyz(8.7395, 5.7860, 19.3915)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58327B #557B32
analogous
#34327B #58327B #7B327A
triadic
#58327B #7B5832 #327B58
tetradic
#58327B #7B3432 #557B32 #327A7B
square
#58327B #7B3432 #557B32 #327A7B
split-complementary
#58327B #7A7B32 #327B34
monochromatic
#1A0F24 #39204F #58327B #7744A7 #9666C1

Accessibility & contrast

On white

9.73
#58327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#58327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58327B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58327B#FFFFFF#000000##FFFFFF
##58327B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#524051
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58327b;
/* rgb */ color: rgb(88, 50, 123);
/* oklch */ color: oklch(40.0% 0.122 305.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ca2',
    500: '#58327b',
    950: '#000000',
  },
}
SCSS
$custom: #58327b;
$custom-light: #8a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#58327b",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 271.233,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.12198,
    "h": 305.6
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#58327B
secondary
#83A960
accent
#D25691
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58327B

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

Preview Lab → · Contrast checker → · Palette generator →

#58327B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva