#58227E#58227E

#58227E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.149 H 307.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#58227E
RGBrgb(88, 34, 126)
HSLhsl(275, 58%, 31%)
HSVhsv(275, 73%, 49%)
CMYKcmyk(30.2%, 73%, 0%, 50.6%)
CIE-LABlab(25.94, 41.61, -41.77)
CIE-LCHlch(25.94, 58.96, 314.89°)
OKLaboklab(38% 0.0911 -0.1185)
OKLCHoklch(38% 0.149 307.5)
XYZxyz(8.3616, 4.7252, 20.2062)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58227E #487E22
analogous
#2A227E #58227E #7E2276
triadic
#58227E #7E5822 #227E58
tetradic
#58227E #7E2A22 #487E22 #22767E
square
#58227E #7E2A22 #487E22 #22767E
split-complementary
#58227E #767E22 #227E2A
monochromatic
#15081E #36154E #58227E #7A2FAE #994CCF

Accessibility & contrast

On white

10.80
#58227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#58227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58227E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58227E#FFFFFF#000000##FFFFFF
##58227E1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#073E7C
Tritanopia (blue-blind)
#52374D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58227e;
/* rgb */ color: rgb(88, 34, 126);
/* oklch */ color: oklch(38.0% 0.149 307.5);
Tailwind
colors: {
  custom: {
    50: '#8b62a4',
    500: '#58227e',
    950: '#000000',
  },
}
SCSS
$custom: #58227e;
$custom-light: #8b62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58227e",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 275.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.14943,
    "h": 307.5
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#58227E
secondary
#75B14B
accent
#E14787
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58227E

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

Preview Lab → · Contrast checker → · Palette generator →

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