#58189E#58189E

#58189E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.193 H 298.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#58189E
RGBrgb(88, 24, 158)
HSLhsl(269, 74%, 36%)
HSVhsv(269, 85%, 62%)
CMYKcmyk(44.3%, 84.8%, 0%, 38%)
CIE-LABlab(27.29, 53.49, -59.42)
CIE-LCHlch(27.29, 79.95, 311.99°)
OKLaboklab(39.8% 0.0911 -0.1702)
OKLCHoklch(39.8% 0.193 298.1)
XYZxyz(10.5211, 5.1964, 32.7898)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58189E #5E9E18
analogous
#181B9E #58189E #9B189E
triadic
#58189E #9E5818 #189E58
tetradic
#58189E #9E181B #5E9E18 #189E9B
square
#58189E #9E181B #5E9E18 #189E9B
split-complementary
#58189E #9E9B18 #1B9E18
monochromatic
#1D0834 #3A1069 #58189E #7620D3 #954DE4

Accessibility & contrast

On white

10.30
#58189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#58189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58189E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58189E#FFFFFF#000000##FFFFFF
##58189E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#46405D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58189e;
/* rgb */ color: rgb(88, 24, 158);
/* oklch */ color: oklch(39.8% 0.193 298.1);
Tailwind
colors: {
  custom: {
    50: '#8f5fbc',
    500: '#58189e',
    950: '#000000',
  },
}
SCSS
$custom: #58189e;
$custom-light: #8f5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#58189e",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 268.657,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.19306,
    "h": 298.1
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#58189E
secondary
#8CC64C
accent
#F03898
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #58189E

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

Preview Lab → · Contrast checker → · Palette generator →

#58189E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva