#58237A#58237A

#58237A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.144 H 309.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#58237A
RGBrgb(88, 35, 122)
HSLhsl(277, 55%, 31%)
HSVhsv(277, 71%, 48%)
CMYKcmyk(27.9%, 71.3%, 0%, 52.2%)
CIE-LABlab(25.81, 40.16, -39.45)
CIE-LCHlch(25.81, 56.29, 315.51°)
OKLaboklab(37.81% 0.0905 -0.1116)
OKLCHoklch(37.81% 0.144 309)
XYZxyz(8.1377, 4.6821, 18.8836)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58237A #457A23
analogous
#2C237A #58237A #7A2370
triadic
#58237A #7A5823 #237A58
tetradic
#58237A #7A2C23 #457A23 #23707A
square
#58237A #7A2C23 #457A23 #23707A
split-complementary
#58237A #707A23 #237A2C
monochromatic
#13081B #36154A #58237A #7A31AA #9A4CCC

Accessibility & contrast

On white

10.84
#58237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#58237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58237A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58237A#FFFFFF#000000##FFFFFF
##58237A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#53364B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58237a;
/* rgb */ color: rgb(88, 35, 122);
/* oklch */ color: oklch(37.8% 0.144 309.0);
Tailwind
colors: {
  custom: {
    50: '#8b62a1',
    500: '#58237a',
    950: '#000000',
  },
}
SCSS
$custom: #58237a;
$custom-light: #8b62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58237a",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 276.552,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3781,
    "c": 0.1437,
    "h": 309
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#58237A
secondary
#72AD4C
accent
#DF4984
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58237A

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

Preview Lab → · Contrast checker → · Palette generator →

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