#58278E#58278E

#58278E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.161 H 301.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#58278E
RGBrgb(88, 39, 142)
HSLhsl(269, 57%, 35%)
HSVhsv(269, 73%, 56%)
CMYKcmyk(38%, 72.5%, 0%, 44.3%)
CIE-LABlab(28.06, 43.20, -48.34)
CIE-LCHlch(28.06, 64.83, 311.79°)
OKLaboklab(39.9% 0.0829 -0.1378)
OKLCHoklch(39.9% 0.161 301)
XYZxyz(9.6313, 5.4787, 26.1360)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58278E #5D8E27
analogous
#27298E #58278E #8B278E
triadic
#58278E #8E5827 #278E58
tetradic
#58278E #8E2729 #5D8E27 #278E8B
square
#58278E #8E2729 #5D8E27 #278E8B
split-complementary
#58278E #8E8B27 #298E27
monochromatic
#1C0D2E #3A1A5E #58278E #7634BE #955DD2

Accessibility & contrast

On white

10.02
#58278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#58278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58278E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58278E#FFFFFF#000000##FFFFFF
##58278E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#4C4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58278e;
/* rgb */ color: rgb(88, 39, 142);
/* oklch */ color: oklch(39.9% 0.161 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c66b0',
    500: '#58278e',
    950: '#000000',
  },
}
SCSS
$custom: #58278e;
$custom-light: #8c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58278e",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 268.544,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.16083,
    "h": 301
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#58278E
secondary
#8BB859
accent
#E04898
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58278E

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

Preview Lab → · Contrast checker → · Palette generator →

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