#58138C#58138C

#58138C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.179 H 304.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#58138C
RGBrgb(88, 19, 140)
HSLhsl(274, 76%, 31%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(37.1%, 86.4%, 0%, 45.1%)
CIE-LABlab(25.06, 50.84, -51.99)
CIE-LCHlch(25.06, 72.72, 314.36°)
OKLaboklab(37.74% 0.1007 -0.1484)
OKLCHoklch(37.74% 0.179 304.2)
XYZxyz(8.9899, 4.4339, 25.1881)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58138C #478C13
analogous
#1B138C #58138C #8C1383
triadic
#58138C #8C5813 #138C58
tetradic
#58138C #8C1B13 #478C13 #13838C
square
#58138C #8C1B13 #478C13 #13838C
split-complementary
#58138C #838C13 #138C1B
monochromatic
#140420 #360C56 #58138C #7A1AC2 #9936E4

Accessibility & contrast

On white

11.13
#58138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#58138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58138C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58138C#FFFFFF#000000##FFFFFF
##58138C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4D3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58138c;
/* rgb */ color: rgb(88, 19, 140);
/* oklch */ color: oklch(37.7% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#8d5caf',
    500: '#58138c',
    950: '#000000',
  },
}
SCSS
$custom: #58138c;
$custom-light: #8d5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#58138c",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 274.215,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.17932,
    "h": 304.2
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#58138C
secondary
#74C03B
accent
#F33587
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58138C

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

Preview Lab → · Contrast checker → · Palette generator →

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