#58148C#58148C

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

Color values

HEX#58148C
RGBrgb(88, 20, 140)
HSLhsl(274, 75%, 31%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(37.1%, 85.7%, 0%, 45.1%)
CIE-LABlab(25.16, 50.53, -51.81)
CIE-LCHlch(25.16, 72.37, 314.28°)
OKLaboklab(37.82% 0.1 -0.1479)
OKLCHoklch(37.82% 0.179 304.1)
XYZxyz(9.0072, 4.4685, 25.1938)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58148C #488C14
analogous
#1C148C #58148C #8C1484
triadic
#58148C #8C5814 #148C58
tetradic
#58148C #8C1C14 #488C14 #14848C
square
#58148C #8C1C14 #488C14 #14848C
split-complementary
#58148C #848C14 #148C1C
monochromatic
#150521 #360C56 #58148C #7A1CC2 #9938E3

Accessibility & contrast

On white

11.09
#58148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58148C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58148C#FFFFFF#000000##FFFFFF
##58148C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4D3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58148c;
/* rgb */ color: rgb(88, 20, 140);
/* oklch */ color: oklch(37.8% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58148c',
    950: '#000000',
  },
}
SCSS
$custom: #58148c;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58148c",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 274,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37817,
    "c": 0.17853,
    "h": 304.1
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#58148C
secondary
#75C03C
accent
#F23687
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58148C

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

Preview Lab → · Contrast checker → · Palette generator →

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