#58148F#58148F

#58148F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.181 H 303.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#58148F
RGBrgb(88, 20, 143)
HSLhsl(273, 75%, 32%)
HSVhsv(273, 86%, 56%)
CMYKcmyk(38.5%, 86%, 0%, 43.9%)
CIE-LABlab(25.44, 51.23, -53.23)
CIE-LCHlch(25.44, 73.87, 313.90°)
OKLaboklab(38.09% 0.099 -0.152)
OKLCHoklch(38.09% 0.181 303.1)
XYZxyz(9.2314, 4.5582, 26.3748)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58148F #4B8F14
analogous
#1B148F #58148F #8F1489
triadic
#58148F #8F5814 #148F58
tetradic
#58148F #8F1B14 #4B8F14 #14898F
square
#58148F #8F1B14 #4B8F14 #14898F
split-complementary
#58148F #898F14 #148F1B
monochromatic
#160524 #370C59 #58148F #791CC5 #983AE3

Accessibility & contrast

On white

10.99
#58148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#58148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58148F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58148F#FFFFFF#000000##FFFFFF
##58148F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4C3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58148f;
/* rgb */ color: rgb(88, 20, 143);
/* oklch */ color: oklch(38.1% 0.181 303.1);
Tailwind
colors: {
  custom: {
    50: '#8d5db1',
    500: '#58148f',
    950: '#000000',
  },
}
SCSS
$custom: #58148f;
$custom-light: #8d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#58148f",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 273.171,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.18143,
    "h": 303.1
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#58148F
secondary
#78C33C
accent
#F2368A
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58148F

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

Preview Lab → · Contrast checker → · Palette generator →

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