#58227B#58227B

#58227B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.146 H 308.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#58227B
RGBrgb(88, 34, 123)
HSLhsl(276, 57%, 31%)
HSVhsv(276, 72%, 48%)
CMYKcmyk(28.5%, 72.4%, 0%, 51.8%)
CIE-LABlab(25.71, 40.89, -40.24)
CIE-LCHlch(25.71, 57.37, 315.46°)
OKLaboklab(37.76% 0.0915 -0.114)
OKLCHoklch(37.76% 0.146 308.8)
XYZxyz(8.1710, 4.6490, 19.2019)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58227B #457B22
analogous
#2B227B #58227B #7B2271
triadic
#58227B #7B5822 #227B58
tetradic
#58227B #7B2B22 #457B22 #22717B
square
#58227B #7B2B22 #457B22 #22717B
split-complementary
#58227B #717B22 #227B2B
monochromatic
#13071B #36154B #58227B #7A2FAB #9A4ACD

Accessibility & contrast

On white

10.88
#58227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58227B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58227B#FFFFFF#000000##FFFFFF
##58227B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#0E3E79
Tritanopia (blue-blind)
#53364C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58227b;
/* rgb */ color: rgb(88, 34, 123);
/* oklch */ color: oklch(37.8% 0.146 308.8);
Tailwind
colors: {
  custom: {
    50: '#8b62a2',
    500: '#58227b',
    950: '#000000',
  },
}
SCSS
$custom: #58227b;
$custom-light: #8b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58227b",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 276.404,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.14616,
    "h": 308.8
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#58227B
secondary
#72AE4B
accent
#E04884
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58227B

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

Preview Lab → · Contrast checker → · Palette generator →

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