#58138F#58138F

#58138F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.182 H 303.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#58138F
RGBrgb(88, 19, 143)
HSLhsl(273, 77%, 32%)
HSVhsv(273, 87%, 56%)
CMYKcmyk(38.5%, 86.7%, 0%, 43.9%)
CIE-LABlab(25.33, 51.53, -53.40)
CIE-LCHlch(25.33, 74.21, 313.98°)
OKLaboklab(38.02% 0.0997 -0.1525)
OKLCHoklch(38.02% 0.182 303.2)
XYZxyz(9.2141, 4.5236, 26.3690)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58138F #4A8F13
analogous
#1A138F #58138F #8F1388
triadic
#58138F #8F5813 #138F58
tetradic
#58138F #8F1A13 #4A8F13 #13888F
square
#58138F #8F1A13 #4A8F13 #13888F
split-complementary
#58138F #888F13 #138F1A
monochromatic
#160523 #370C59 #58138F #791AC5 #9838E5

Accessibility & contrast

On white

11.02
#58138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#58138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58138F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58138F#FFFFFF#000000##FFFFFF
##58138F1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4C3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58138f;
/* rgb */ color: rgb(88, 19, 143);
/* oklch */ color: oklch(38.0% 0.182 303.2);
Tailwind
colors: {
  custom: {
    50: '#8d5cb1',
    500: '#58138f',
    950: '#000000',
  },
}
SCSS
$custom: #58138f;
$custom-light: #8d5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#58138f",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 273.387,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.1822,
    "h": 303.2
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#58138F
secondary
#77C33B
accent
#F33589
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58138F

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

Preview Lab → · Contrast checker → · Palette generator →

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