#58188E#58188E

#58188E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.177 H 303.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#58188E
RGBrgb(88, 24, 142)
HSLhsl(273, 71%, 33%)
HSVhsv(273, 83%, 56%)
CMYKcmyk(38%, 83.1%, 0%, 44.3%)
CIE-LABlab(25.81, 49.64, -52.01)
CIE-LCHlch(25.81, 71.90, 313.67°)
OKLaboklab(38.32% 0.0965 -0.1485)
OKLCHoklch(38.32% 0.177 303)
XYZxyz(9.2325, 4.6810, 26.0031)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188E #4E8E18
analogous
#1D188E #58188E #8E1889
triadic
#58188E #8E5818 #188E58
tetradic
#58188E #8E1D18 #4E8E18 #18898E
square
#58188E #8E1D18 #4E8E18 #18898E
split-complementary
#58188E #898E18 #188E1D
monochromatic
#170625 #380F5A #58188E #7821C2 #9741DF

Accessibility & contrast

On white

10.85
#58188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58188E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188E#FFFFFF#000000##FFFFFF
##58188E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4D3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58188e;
/* rgb */ color: rgb(88, 24, 142);
/* oklch */ color: oklch(38.3% 0.177 303.0);
Tailwind
colors: {
  custom: {
    50: '#8d5eb0',
    500: '#58188e',
    950: '#000000',
  },
}
SCSS
$custom: #58188e;
$custom-light: #8d5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#58188e",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 272.542,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.17709,
    "h": 303
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#58188E
secondary
#7CC042
accent
#EE3A8C
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58188E

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

Preview Lab → · Contrast checker → · Palette generator →

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