#58278F#58278F

#58278F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.162 H 300.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#58278F
RGBrgb(88, 39, 143)
HSLhsl(268, 57%, 36%)
HSVhsv(268, 73%, 56%)
CMYKcmyk(38.5%, 72.7%, 0%, 43.9%)
CIE-LABlab(28.14, 43.46, -48.82)
CIE-LCHlch(28.14, 65.37, 311.68°)
OKLaboklab(39.98% 0.0827 -0.1392)
OKLCHoklch(39.98% 0.162 300.7)
XYZxyz(9.7067, 5.5088, 26.5332)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58278F #5E8F27
analogous
#272A8F #58278F #8C278F
triadic
#58278F #8F5827 #278F58
tetradic
#58278F #8F272A #5E8F27 #278F8C
square
#58278F #8F272A #5E8F27 #278F8C
split-complementary
#58278F #8F8C27 #2A8F27
monochromatic
#1D0D2F #3A1A5F #58278F #7634BF #955DD3

Accessibility & contrast

On white

9.99
#58278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58278F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58278F#FFFFFF#000000##FFFFFF
##58278F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58278f;
/* rgb */ color: rgb(88, 39, 143);
/* oklch */ color: oklch(40.0% 0.162 300.7);
Tailwind
colors: {
  custom: {
    50: '#8c66b1',
    500: '#58278f',
    950: '#000000',
  },
}
SCSS
$custom: #58278f;
$custom-light: #8c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58278f",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 268.269,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.16196,
    "h": 300.7
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#58278F
secondary
#8CB85A
accent
#E04798
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #58278F

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

Preview Lab → · Contrast checker → · Palette generator →

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