#58276F#58276F

#58276F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.5% C 0.125 H 313.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#58276F
RGBrgb(88, 39, 111)
HSLhsl(281, 48%, 29%)
HSVhsv(281, 65%, 44%)
CMYKcmyk(20.7%, 64.9%, 0%, 56.5%)
CIE-LABlab(25.78, 35.48, -32.47)
CIE-LCHlch(25.78, 48.10, 317.54°)
OKLaboklab(37.55% 0.0862 -0.0912)
OKLCHoklch(37.55% 0.125 313.4)
XYZxyz(7.6188, 4.6737, 15.5366)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58276F #3E6F27
analogous
#34276F #58276F #6F2762
triadic
#58276F #6F5827 #276F58
tetradic
#58276F #6F3427 #3E6F27 #27626F
square
#58276F #6F3427 #3E6F27 #27626F
split-complementary
#58276F #626F27 #276F34
monochromatic
#120817 #341742 #58276F #7C379C #9D4FC1

Accessibility & contrast

On white

10.85
#58276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58276F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58276F#FFFFFF#000000##FFFFFF
##58276F1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A71
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#563447
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58276f;
/* rgb */ color: rgb(88, 39, 111);
/* oklch */ color: oklch(37.5% 0.125 313.4);
Tailwind
colors: {
  custom: {
    50: '#8a6499',
    500: '#58276f',
    950: '#000000',
  },
}
SCSS
$custom: #58276f;
$custom-light: #8a6499;
$custom-dark: #000000;
JSON
{
  "hex": "#58276f",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 280.833,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37547,
    "c": 0.12546,
    "h": 313.4
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#58276F
secondary
#6AA250
accent
#D8507B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #58276F

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

Preview Lab → · Contrast checker → · Palette generator →

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