#58227A#58227A

#58227A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.145 H 309.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#58227A
RGBrgb(88, 34, 122)
HSLhsl(277, 56%, 31%)
HSVhsv(277, 72%, 48%)
CMYKcmyk(27.9%, 72.1%, 0%, 52.2%)
CIE-LABlab(25.64, 40.65, -39.73)
CIE-LCHlch(25.64, 56.84, 315.65°)
OKLaboklab(37.69% 0.0916 -0.1125)
OKLCHoklch(37.69% 0.145 309.2)
XYZxyz(8.1087, 4.6241, 18.8739)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58227A #447A22
analogous
#2C227A #58227A #7A2270
triadic
#58227A #7A5822 #227A58
tetradic
#58227A #7A2C22 #447A22 #22707A
square
#58227A #7A2C22 #447A22 #22707A
split-complementary
#58227A #707A22 #227A2C
monochromatic
#13071A #35154A #58227A #7B2FAA #9A4ACD

Accessibility & contrast

On white

10.91
#58227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#58227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58227A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58227A#FFFFFF#000000##FFFFFF
##58227A1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#53354B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58227a;
/* rgb */ color: rgb(88, 34, 122);
/* oklch */ color: oklch(37.7% 0.145 309.2);
Tailwind
colors: {
  custom: {
    50: '#8b62a1',
    500: '#58227a',
    950: '#000000',
  },
}
SCSS
$custom: #58227a;
$custom-light: #8b62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58227a",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 276.818,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.14506,
    "h": 309.2
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#58227A
secondary
#71AD4B
accent
#E04883
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58227A

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

Preview Lab → · Contrast checker → · Palette generator →

#58227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva