#58227F#58227F

#58227F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.151 H 307.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#58227F
RGBrgb(88, 34, 127)
HSLhsl(275, 58%, 32%)
HSVhsv(275, 73%, 50%)
CMYKcmyk(30.7%, 73.2%, 0%, 50.2%)
CIE-LABlab(26.01, 41.86, -42.28)
CIE-LCHlch(26.01, 59.49, 314.71°)
OKLaboklab(38.07% 0.0909 -0.12)
OKLCHoklch(38.07% 0.151 307.2)
XYZxyz(8.4265, 4.7512, 20.5477)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58227F #497F22
analogous
#2A227F #58227F #7F2278
triadic
#58227F #7F5822 #227F58
tetradic
#58227F #7F2A22 #497F22 #22787F
square
#58227F #7F2A22 #497F22 #22787F
split-complementary
#58227F #787F22 #227F2A
monochromatic
#15081E #37154F #58227F #792FAF #984CCF

Accessibility & contrast

On white

10.77
#58227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58227F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58227F#FFFFFF#000000##FFFFFF
##58227F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#52374E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58227f;
/* rgb */ color: rgb(88, 34, 127);
/* oklch */ color: oklch(38.1% 0.151 307.2);
Tailwind
colors: {
  custom: {
    50: '#8b62a5',
    500: '#58227f',
    950: '#000000',
  },
}
SCSS
$custom: #58227f;
$custom-light: #8b62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#58227f",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 274.839,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.15052,
    "h": 307.2
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#58227F
secondary
#76B24B
accent
#E14787
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58227F

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

Preview Lab → · Contrast checker → · Palette generator →

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