#58288F#58288F

#58288F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.161 H 300.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#58288F
RGBrgb(88, 40, 143)
HSLhsl(268, 56%, 36%)
HSVhsv(268, 72%, 56%)
CMYKcmyk(38.5%, 72%, 0%, 43.9%)
CIE-LABlab(28.31, 42.97, -48.53)
CIE-LCHlch(28.31, 64.82, 311.52°)
OKLaboklab(40.11% 0.0817 -0.1384)
OKLCHoklch(40.11% 0.161 300.6)
XYZxyz(9.7400, 5.5754, 26.5443)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58288F #5F8F28
analogous
#282B8F #58288F #8B288F
triadic
#58288F #8F5828 #288F58
tetradic
#58288F #8F282B #5F8F28 #288F8B
square
#58288F #8F282B #5F8F28 #288F8B
split-complementary
#58288F #8F8B28 #2B8F28
monochromatic
#1D0D2F #3B1B5F #58288F #7535BF #955FD2

Accessibility & contrast

On white

9.93
#58288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#58288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58288F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58288F#FFFFFF#000000##FFFFFF
##58288F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58288f;
/* rgb */ color: rgb(88, 40, 143);
/* oklch */ color: oklch(40.1% 0.161 300.6);
Tailwind
colors: {
  custom: {
    50: '#8c66b1',
    500: '#58288f',
    950: '#000000',
  },
}
SCSS
$custom: #58288f;
$custom-light: #8c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58288f",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 267.961,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40108,
    "c": 0.1607,
    "h": 300.6
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#58288F
secondary
#8DB85B
accent
#E04899
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #58288F

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

Preview Lab → · Contrast checker → · Palette generator →

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