#58238C#58238C

#58238C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.163 H 302.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#58238C
RGBrgb(88, 35, 140)
HSLhsl(270, 60%, 34%)
HSVhsv(270, 75%, 55%)
CMYKcmyk(37.1%, 75%, 0%, 45.1%)
CIE-LABlab(27.21, 44.61, -48.47)
CIE-LCHlch(27.21, 65.87, 312.63°)
OKLaboklab(39.25% 0.0874 -0.1382)
OKLCHoklch(39.25% 0.163 302.3)
XYZxyz(9.3580, 5.1702, 25.3108)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58238C #578C23
analogous
#24238C #58238C #8C238C
triadic
#58238C #8C5823 #238C58
tetradic
#58238C #8C2423 #578C23 #238C8C
square
#58238C #8C2423 #578C23 #238C8C
split-complementary
#58238C #8C8C23 #238C24
monochromatic
#1A0B2A #39175B #58238C #772FBD #9555D4

Accessibility & contrast

On white

10.32
#58238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#58238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58238C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58238C#FFFFFF#000000##FFFFFF
##58238C1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4D3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58238c;
/* rgb */ color: rgb(88, 35, 140);
/* oklch */ color: oklch(39.3% 0.163 302.3);
Tailwind
colors: {
  custom: {
    50: '#8c63ae',
    500: '#58238c',
    950: '#000000',
  },
}
SCSS
$custom: #58238c;
$custom-light: #8c63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58238c",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 270.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39251,
    "c": 0.16349,
    "h": 302.3
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#58238C
secondary
#85B852
accent
#E34593
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58238C

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

Preview Lab → · Contrast checker → · Palette generator →

#58238C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva