#58228C#58228C

#58228C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.165 H 302.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#58228C
RGBrgb(88, 34, 140)
HSLhsl(271, 61%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(37.1%, 75.7%, 0%, 45.1%)
CIE-LABlab(27.05, 45.07, -48.73)
CIE-LCHlch(27.05, 66.38, 312.77°)
OKLaboklab(39.14% 0.0884 -0.1389)
OKLCHoklch(39.14% 0.165 302.5)
XYZxyz(9.3290, 5.1122, 25.3011)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58228C #568C22
analogous
#23228C #58228C #8C228B
triadic
#58228C #8C5822 #228C58
tetradic
#58228C #8C2322 #568C22 #228B8C
square
#58228C #8C2322 #568C22 #228B8C
split-complementary
#58228C #8B8C22 #228C23
monochromatic
#1A0A2A #39165B #58228C #772EBD #9553D5

Accessibility & contrast

On white

10.38
#58228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#58228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58228C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58228C#FFFFFF#000000##FFFFFF
##58228C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4D3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58228c;
/* rgb */ color: rgb(88, 34, 140);
/* oklch */ color: oklch(39.1% 0.165 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c63ae',
    500: '#58228c',
    950: '#000000',
  },
}
SCSS
$custom: #58228c;
$custom-light: #8c63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58228c",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 270.566,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.16468,
    "h": 302.5
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#58228C
secondary
#84B951
accent
#E44492
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #58228C

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

Preview Lab → · Contrast checker → · Palette generator →

#58228C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva