#58148D#58148D

#58148D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.179 H 303.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#58148D
RGBrgb(88, 20, 141)
HSLhsl(274, 75%, 32%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(37.6%, 85.8%, 0%, 44.7%)
CIE-LABlab(25.25, 50.76, -52.29)
CIE-LCHlch(25.25, 72.87, 314.15°)
OKLaboklab(37.91% 0.0997 -0.1493)
OKLCHoklch(37.91% 0.18 303.7)
XYZxyz(9.0812, 4.4981, 25.5839)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58148D #498D14
analogous
#1C148D #58148D #8D1486
triadic
#58148D #8D5814 #148D58
tetradic
#58148D #8D1C14 #498D14 #14868D
square
#58148D #8D1C14 #498D14 #14868D
split-complementary
#58148D #868D14 #148D1C
monochromatic
#150522 #370C57 #58148D #791CC3 #9839E3

Accessibility & contrast

On white

11.05
#58148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#58148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58148D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58148D#FFFFFF#000000##FFFFFF
##58148D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4D3753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58148d;
/* rgb */ color: rgb(88, 20, 141);
/* oklch */ color: oklch(37.9% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58148d',
    950: '#000000',
  },
}
SCSS
$custom: #58148d;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58148d",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 273.719,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.1795,
    "h": 303.7
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#58148D
secondary
#76C13C
accent
#F23688
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58148D

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

Preview Lab → · Contrast checker → · Palette generator →

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