#58237B#58237B

#58237B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.145 H 308.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#58237B
RGBrgb(88, 35, 123)
HSLhsl(276, 56%, 31%)
HSVhsv(276, 72%, 48%)
CMYKcmyk(28.5%, 71.5%, 0%, 51.8%)
CIE-LABlab(25.88, 40.40, -39.96)
CIE-LCHlch(25.88, 56.83, 315.31°)
OKLaboklab(37.89% 0.0903 -0.1132)
OKLCHoklch(37.89% 0.145 308.6)
XYZxyz(8.2000, 4.7070, 19.2116)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58237B #467B23
analogous
#2C237B #58237B #7B2372
triadic
#58237B #7B5823 #237B58
tetradic
#58237B #7B2C23 #467B23 #23727B
square
#58237B #7B2C23 #467B23 #23727B
split-complementary
#58237B #727B23 #237B2C
monochromatic
#14081C #36154B #58237B #7A31AB #994CCC

Accessibility & contrast

On white

10.82
#58237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58237B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58237B#FFFFFF#000000##FFFFFF
##58237B1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58237b;
/* rgb */ color: rgb(88, 35, 123);
/* oklch */ color: oklch(37.9% 0.145 308.6);
Tailwind
colors: {
  custom: {
    50: '#8b63a2',
    500: '#58237b',
    950: '#000000',
  },
}
SCSS
$custom: #58237b;
$custom-light: #8b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58237b",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 276.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.1448,
    "h": 308.6
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#58237B
secondary
#73AE4C
accent
#DF4985
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58237B

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

Preview Lab → · Contrast checker → · Palette generator →

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