#58238F#58238F

#58238F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.167 H 301.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#58238F
RGBrgb(88, 35, 143)
HSLhsl(269, 61%, 35%)
HSVhsv(269, 76%, 56%)
CMYKcmyk(38.5%, 75.5%, 0%, 43.9%)
CIE-LABlab(27.46, 45.37, -49.92)
CIE-LCHlch(27.46, 67.46, 312.27°)
OKLaboklab(39.5% 0.0868 -0.1424)
OKLCHoklch(39.5% 0.167 301.3)
XYZxyz(9.5823, 5.2599, 26.4917)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58238F #5A8F23
analogous
#23248F #58238F #8E238F
triadic
#58238F #8F5823 #238F58
tetradic
#58238F #8F2324 #5A8F23 #238F8E
square
#58238F #8F2324 #5A8F23 #238F8E
split-complementary
#58238F #8F8E23 #248F23
monochromatic
#1B0B2D #3A175E #58238F #762FC0 #9557D6

Accessibility & contrast

On white

10.23
#58238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#58238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58238F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58238F#FFFFFF#000000##FFFFFF
##58238F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4C3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58238f;
/* rgb */ color: rgb(88, 35, 143);
/* oklch */ color: oklch(39.5% 0.167 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c63b1',
    500: '#58238f',
    950: '#000000',
  },
}
SCSS
$custom: #58238f;
$custom-light: #8c63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58238f",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 269.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.16677,
    "h": 301.3
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#58238F
secondary
#88BA54
accent
#E44495
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #58238F

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

Preview Lab → · Contrast checker → · Palette generator →

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