#58127C#58127C

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

Color values

HEX#58127C
RGBrgb(88, 18, 124)
HSLhsl(280, 75%, 28%)
HSVhsv(280, 85%, 49%)
CMYKcmyk(29%, 85.5%, 0%, 51.4%)
CIE-LABlab(23.55, 47.54, -44.38)
CIE-LCHlch(23.55, 65.04, 316.97°)
OKLaboklab(36.26% 0.1064 -0.126)
OKLCHoklch(36.26% 0.165 310.2)
XYZxyz(7.8782, 3.9627, 19.4147)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58127C #367C12
analogous
#23127C #58127C #7C126B
triadic
#58127C #7C5812 #127C58
tetradic
#58127C #7C2312 #367C12 #126B7C
square
#58127C #7C2312 #367C12 #126B7C
split-complementary
#58127C #6B7C12 #127C23
monochromatic
#13041B #320A47 #58127C #7E1AB1 #A229E0

Accessibility & contrast

On white

11.71
#58127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#58127C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58127C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58127C#FFFFFF#000000##FFFFFF
##58127C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#532E49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58127c;
/* rgb */ color: rgb(88, 18, 124);
/* oklch */ color: oklch(36.3% 0.165 310.2);
Tailwind
colors: {
  custom: {
    50: '#8c5ba3',
    500: '#58127c',
    950: '#000000',
  },
}
SCSS
$custom: #58127c;
$custom-light: #8c5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#58127c",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 279.623,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.16494,
    "h": 310.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#58127C
secondary
#61B238
accent
#F13776
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58127C

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

Preview Lab → · Contrast checker → · Palette generator →

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