#58187D#58187D

#58187D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.160 H 309.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#58187D
RGBrgb(88, 24, 125)
HSLhsl(278, 68%, 29%)
HSVhsv(278, 81%, 49%)
CMYKcmyk(29.6%, 80.8%, 0%, 51%)
CIE-LABlab(24.35, 45.67, -43.71)
CIE-LCHlch(24.35, 63.22, 316.26°)
OKLaboklab(36.85% 0.1013 -0.1241)
OKLCHoklch(36.85% 0.16 309.2)
XYZxyz(8.0521, 4.2088, 19.7863)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58187D #3D7D18
analogous
#26187D #58187D #7D1870
triadic
#58187D #7D5818 #187D58
tetradic
#58187D #7D2618 #3D7D18 #18707D
square
#58187D #7D2618 #3D7D18 #18707D
split-complementary
#58187D #707D18 #187D26
monochromatic
#12051A #340E4A #58187D #7C22B0 #9D37D9

Accessibility & contrast

On white

11.40
#58187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#58187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58187D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58187D#FFFFFF#000000##FFFFFF
##58187D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#52314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58187d;
/* rgb */ color: rgb(88, 24, 125);
/* oklch */ color: oklch(36.9% 0.160 309.2);
Tailwind
colors: {
  custom: {
    50: '#8b5da3',
    500: '#58187d',
    950: '#000000',
  },
}
SCSS
$custom: #58187d;
$custom-light: #8b5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#58187d",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 278.02,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3685,
    "c": 0.16018,
    "h": 309.2
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#58187D
secondary
#69B23F
accent
#EB3D7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58187D

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

Preview Lab → · Contrast checker → · Palette generator →

#58187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva