#58278B#58278B

#58278B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.157 H 302.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#58278B
RGBrgb(88, 39, 139)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 72%, 55%)
CMYKcmyk(36.7%, 71.9%, 0%, 45.5%)
CIE-LABlab(27.82, 42.43, -46.86)
CIE-LCHlch(27.82, 63.22, 312.16°)
OKLaboklab(39.65% 0.0835 -0.1335)
OKLCHoklch(39.65% 0.157 302)
XYZxyz(9.4091, 5.3898, 24.9657)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58278B #5A8B27
analogous
#27288B #58278B #8A278B
triadic
#58278B #8B5827 #278B58
tetradic
#58278B #8B2728 #5A8B27 #278B8A
square
#58278B #8B2728 #5A8B27 #278B8A
split-complementary
#58278B #8B8A27 #288B27
monochromatic
#1B0C2B #3A1A5B #58278B #7634BB #955BD1

Accessibility & contrast

On white

10.11
#58278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#58278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58278B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58278B#FFFFFF#000000##FFFFFF
##58278B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#4D3F56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58278b;
/* rgb */ color: rgb(88, 39, 139);
/* oklch */ color: oklch(39.7% 0.157 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c65ae',
    500: '#58278b',
    950: '#000000',
  },
}
SCSS
$custom: #58278b;
$custom-light: #8c65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58278b",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 269.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.15742,
    "h": 302
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#58278B
secondary
#88B658
accent
#DF4895
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #58278B

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

Preview Lab → · Contrast checker → · Palette generator →

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