#58127D#58127D

#58127D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.166 H 309.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#58127D
RGBrgb(88, 18, 125)
HSLhsl(279, 75%, 28%)
HSVhsv(279, 86%, 49%)
CMYKcmyk(29.6%, 85.6%, 0%, 51%)
CIE-LABlab(23.63, 47.76, -44.88)
CIE-LCHlch(23.63, 65.54, 316.78°)
OKLaboklab(36.35% 0.1061 -0.1275)
OKLCHoklch(36.35% 0.166 309.8)
XYZxyz(7.9417, 3.9882, 19.7495)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58127D #377D12
analogous
#22127D #58127D #7D126C
triadic
#58127D #7D5812 #127D58
tetradic
#58127D #7D2212 #377D12 #126C7D
square
#58127D #7D2212 #377D12 #126C7D
split-complementary
#58127D #6C7D12 #127D22
monochromatic
#13041B #320A48 #58127D #7E1AB2 #A129E0

Accessibility & contrast

On white

11.68
#58127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#58127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58127D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58127D#FFFFFF#000000##FFFFFF
##58127D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#522F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58127d;
/* rgb */ color: rgb(88, 18, 125);
/* oklch */ color: oklch(36.3% 0.166 309.8);
Tailwind
colors: {
  custom: {
    50: '#8c5ba3',
    500: '#58127d',
    950: '#000000',
  },
}
SCSS
$custom: #58127d;
$custom-light: #8c5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#58127d",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 279.252,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.16588,
    "h": 309.8
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#58127D
secondary
#62B338
accent
#F13677
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58127D

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

Preview Lab → · Contrast checker → · Palette generator →

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