#58277F#58277F

#58277F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.144 H 306.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#58277F
RGBrgb(88, 39, 127)
HSLhsl(273, 53%, 33%)
HSVhsv(273, 69%, 50%)
CMYKcmyk(30.7%, 69.3%, 0%, 50.2%)
CIE-LABlab(26.90, 39.38, -40.85)
CIE-LCHlch(26.90, 56.74, 313.95°)
OKLaboklab(38.71% 0.0852 -0.1158)
OKLCHoklch(38.71% 0.144 306.3)
XYZxyz(8.5800, 5.0581, 20.5989)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58277F #4E7F27
analogous
#2C277F #58277F #7F277A
triadic
#58277F #7F5827 #277F58
tetradic
#58277F #7F2C27 #4E7F27 #277A7F
square
#58277F #7F2C27 #4E7F27 #277A7F
split-complementary
#58277F #7A7F27 #277F2C
monochromatic
#170A21 #381950 #58277F #7835AE #9755CB

Accessibility & contrast

On white

10.44
#58277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#58277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58277F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58277F#FFFFFF#000000##FFFFFF
##58277F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#0F407D
Tritanopia (blue-blind)
#513A4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58277f;
/* rgb */ color: rgb(88, 39, 127);
/* oklch */ color: oklch(38.7% 0.144 306.3);
Tailwind
colors: {
  custom: {
    50: '#8b65a5',
    500: '#58277f',
    950: '#000000',
  },
}
SCSS
$custom: #58277f;
$custom-light: #8b65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#58277f",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 273.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38708,
    "c": 0.14373,
    "h": 306.3
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#58277F
secondary
#7CB052
accent
#DC4B8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58277F

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

Preview Lab → · Contrast checker → · Palette generator →

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