#58107E#58107E

#58107E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 309.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#58107E
RGBrgb(88, 16, 126)
HSLhsl(279, 77%, 28%)
HSVhsv(279, 87%, 49%)
CMYKcmyk(30.2%, 87.3%, 0%, 50.6%)
CIE-LABlab(23.51, 48.59, -45.71)
CIE-LCHlch(23.51, 66.71, 316.74°)
OKLaboklab(36.29% 0.1072 -0.1299)
OKLCHoklch(36.29% 0.168 309.5)
XYZxyz(7.9749, 3.9518, 20.0773)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58107E #367E10
analogous
#21107E #58107E #7E106D
triadic
#58107E #7E5810 #107E58
tetradic
#58107E #7E2110 #367E10 #106D7E
square
#58107E #7E2110 #367E10 #106D7E
split-complementary
#58107E #6D7E10 #107E21
monochromatic
#13031B #320948 #58107E #7E17B4 #A225E3

Accessibility & contrast

On white

11.73
#58107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#58107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58107E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58107E#FFFFFF#000000##FFFFFF
##58107E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58107e;
/* rgb */ color: rgb(88, 16, 126);
/* oklch */ color: oklch(36.3% 0.168 309.5);
Tailwind
colors: {
  custom: {
    50: '#8c5aa4',
    500: '#58107e',
    950: '#000000',
  },
}
SCSS
$custom: #58107e;
$custom-light: #8c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#58107e",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 279.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36291,
    "c": 0.16846,
    "h": 309.5
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#58107E
secondary
#61B436
accent
#F43476
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58107E

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

Preview Lab → · Contrast checker → · Palette generator →

#58107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva