#58188F#58188F

#58188F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.178 H 302.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#58188F
RGBrgb(88, 24, 143)
HSLhsl(272, 71%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(38.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(25.90, 49.88, -52.48)
CIE-LCHlch(25.90, 72.40, 313.55°)
OKLaboklab(38.41% 0.0962 -0.1499)
OKLCHoklch(38.41% 0.178 302.7)
XYZxyz(9.3079, 4.7111, 26.4002)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188F #4F8F18
analogous
#1D188F #58188F #8F188A
triadic
#58188F #8F5818 #188F58
tetradic
#58188F #8F1D18 #4F8F18 #188A8F
square
#58188F #8F1D18 #4F8F18 #188A8F
split-complementary
#58188F #8A8F18 #188F1D
monochromatic
#180626 #380F5B #58188F #7821C3 #9742DF

Accessibility & contrast

On white

10.81
#58188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#58188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58188F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188F#FFFFFF#000000##FFFFFF
##58188F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4C3955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58188f;
/* rgb */ color: rgb(88, 24, 143);
/* oklch */ color: oklch(38.4% 0.178 302.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eb1',
    500: '#58188f',
    950: '#000000',
  },
}
SCSS
$custom: #58188f;
$custom-light: #8d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#58188f",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 272.269,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.17809,
    "h": 302.7
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#58188F
secondary
#7DC043
accent
#EE3A8D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58188F

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

Preview Lab → · Contrast checker → · Palette generator →

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