#58277E#58277E

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

Color values

HEX#58277E
RGBrgb(88, 39, 126)
HSLhsl(274, 53%, 32%)
HSVhsv(274, 69%, 49%)
CMYKcmyk(30.2%, 69%, 0%, 50.6%)
CIE-LABlab(26.83, 39.13, -40.34)
CIE-LCHlch(26.83, 56.20, 314.13°)
OKLaboklab(38.63% 0.0853 -0.1143)
OKLCHoklch(38.63% 0.143 306.7)
XYZxyz(8.5151, 5.0322, 20.2573)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58277E #4D7E27
analogous
#2D277E #58277E #7E2779
triadic
#58277E #7E5827 #277E58
tetradic
#58277E #7E2D27 #4D7E27 #27797E
square
#58277E #7E2D27 #4D7E27 #27797E
split-complementary
#58277E #797E27 #277E2D
monochromatic
#170A21 #37194F #58277E #7935AD #9755CA

Accessibility & contrast

On white

10.47
#58277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58277E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58277E#FFFFFF#000000##FFFFFF
##58277E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#11407C
Tritanopia (blue-blind)
#523A4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58277e;
/* rgb */ color: rgb(88, 39, 126);
/* oklch */ color: oklch(38.6% 0.143 306.7);
Tailwind
colors: {
  custom: {
    50: '#8b65a4',
    500: '#58277e',
    950: '#000000',
  },
}
SCSS
$custom: #58277e;
$custom-light: #8b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58277e",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 273.793,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.14259,
    "h": 306.7
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#58277E
secondary
#7AAF52
accent
#DC4C8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58277E

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

Preview Lab → · Contrast checker → · Palette generator →

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