#58277D#58277D

#58277D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 307.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#58277D
RGBrgb(88, 39, 125)
HSLhsl(274, 52%, 32%)
HSVhsv(274, 69%, 49%)
CMYKcmyk(29.6%, 68.8%, 0%, 51%)
CIE-LABlab(26.75, 38.88, -39.82)
CIE-LCHlch(26.75, 55.66, 314.32°)
OKLaboklab(38.56% 0.0854 -0.1128)
OKLCHoklch(38.56% 0.141 307.1)
XYZxyz(8.4509, 5.0065, 19.9192)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58277D #4C7D27
analogous
#2D277D #58277D #7D2777
triadic
#58277D #7D5827 #277D58
tetradic
#58277D #7D2D27 #4C7D27 #27777D
square
#58277D #7D2D27 #4C7D27 #27777D
split-complementary
#58277D #777D27 #277D2D
monochromatic
#160A20 #37184E #58277D #7936AC #9755CA

Accessibility & contrast

On white

10.49
#58277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#58277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58277D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58277D#FFFFFF#000000##FFFFFF
##58277D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#13407B
Tritanopia (blue-blind)
#52394E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58277d;
/* rgb */ color: rgb(88, 39, 125);
/* oklch */ color: oklch(38.6% 0.141 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b65a3',
    500: '#58277d',
    950: '#000000',
  },
}
SCSS
$custom: #58277d;
$custom-light: #8b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58277d",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 274.186,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.14145,
    "h": 307.1
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#58277D
secondary
#79AF51
accent
#DC4C8A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58277D

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

Preview Lab → · Contrast checker → · Palette generator →

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