#58127F#58127F

#58127F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.168 H 309.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#58127F
RGBrgb(88, 18, 127)
HSLhsl(279, 75%, 28%)
HSVhsv(279, 86%, 50%)
CMYKcmyk(30.7%, 85.8%, 0%, 50.2%)
CIE-LABlab(23.80, 48.20, -45.87)
CIE-LCHlch(23.80, 66.54, 316.42°)
OKLaboklab(36.52% 0.1055 -0.1304)
OKLCHoklch(36.52% 0.168 309)
XYZxyz(8.0708, 4.0398, 20.4291)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58127F #397F12
analogous
#21127F #58127F #7F126F
triadic
#58127F #7F5812 #127F58
tetradic
#58127F #7F2112 #397F12 #126F7F
square
#58127F #7F2112 #397F12 #126F7F
split-complementary
#58127F #6F7F12 #127F21
monochromatic
#13041B #330A49 #58127F #7D1AB5 #A02BE1

Accessibility & contrast

On white

11.62
#58127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#58127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58127F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58127F#FFFFFF#000000##FFFFFF
##58127F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#52304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58127f;
/* rgb */ color: rgb(88, 18, 127);
/* oklch */ color: oklch(36.5% 0.168 309.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ba5',
    500: '#58127f',
    950: '#000000',
  },
}
SCSS
$custom: #58127f;
$custom-light: #8c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#58127f",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 278.532,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3652,
    "c": 0.16777,
    "h": 309
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#58127F
secondary
#65B538
accent
#F23679
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58127F

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

Preview Lab → · Contrast checker → · Palette generator →

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