#58237E#58237E

#58237E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.148 H 307.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#58237E
RGBrgb(88, 35, 126)
HSLhsl(275, 57%, 32%)
HSVhsv(275, 72%, 49%)
CMYKcmyk(30.2%, 72.2%, 0%, 50.6%)
CIE-LABlab(26.11, 41.13, -41.50)
CIE-LCHlch(26.11, 58.43, 314.75°)
OKLaboklab(38.12% 0.0899 -0.1177)
OKLCHoklch(38.12% 0.148 307.4)
XYZxyz(8.3906, 4.7832, 20.2159)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58237E #497E23
analogous
#2B237E #58237E #7E2377
triadic
#58237E #7E5823 #237E58
tetradic
#58237E #7E2B23 #497E23 #23777E
square
#58237E #7E2B23 #497E23 #23777E
split-complementary
#58237E #777E23 #237E2B
monochromatic
#15081E #37164E #58237E #7930AE #984ECE

Accessibility & contrast

On white

10.73
#58237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#58237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58237E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58237E#FFFFFF#000000##FFFFFF
##58237E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#093E7C
Tritanopia (blue-blind)
#52374E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58237e;
/* rgb */ color: rgb(88, 35, 126);
/* oklch */ color: oklch(38.1% 0.148 307.4);
Tailwind
colors: {
  custom: {
    50: '#8b63a4',
    500: '#58237e',
    950: '#000000',
  },
}
SCSS
$custom: #58237e;
$custom-light: #8b63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58237e",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 274.945,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.14811,
    "h": 307.4
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#58237E
secondary
#76B04C
accent
#E04887
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58237E

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

Preview Lab → · Contrast checker → · Palette generator →

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