#58187C#58187C

#58187C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.159 H 309.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#58187C
RGBrgb(88, 24, 124)
HSLhsl(278, 68%, 29%)
HSVhsv(278, 81%, 49%)
CMYKcmyk(29%, 80.6%, 0%, 51.4%)
CIE-LABlab(24.27, 45.45, -43.21)
CIE-LCHlch(24.27, 62.71, 316.44°)
OKLaboklab(36.77% 0.1015 -0.1226)
OKLCHoklch(36.77% 0.159 309.6)
XYZxyz(7.9885, 4.1834, 19.4515)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58187C #3C7C18
analogous
#26187C #58187C #7C186E
triadic
#58187C #7C5818 #187C58
tetradic
#58187C #7C2618 #3C7C18 #186E7C
square
#58187C #7C2618 #3C7C18 #186E7C
split-complementary
#58187C #6E7C18 #187C26
monochromatic
#12051A #340E49 #58187C #7C22AF #9E36D8

Accessibility & contrast

On white

11.43
#58187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58187C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58187C#FFFFFF#000000##FFFFFF
##58187C1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#53314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58187c;
/* rgb */ color: rgb(88, 24, 124);
/* oklch */ color: oklch(36.8% 0.159 309.6);
Tailwind
colors: {
  custom: {
    50: '#8b5da3',
    500: '#58187c',
    950: '#000000',
  },
}
SCSS
$custom: #58187c;
$custom-light: #8b5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#58187c",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 278.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.15919,
    "h": 309.6
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#58187C
secondary
#68B13F
accent
#EA3D7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58187C

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

Preview Lab → · Contrast checker → · Palette generator →

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