#58148B#58148B

#58148B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.178 H 304.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#58148B
RGBrgb(88, 20, 139)
HSLhsl(274, 75%, 31%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(36.7%, 85.6%, 0%, 45.5%)
CIE-LABlab(25.07, 50.30, -51.34)
CIE-LCHlch(25.07, 71.87, 314.41°)
OKLaboklab(37.73% 0.1004 -0.1465)
OKLCHoklch(37.73% 0.178 304.4)
XYZxyz(8.9338, 4.4391, 24.8073)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58148B #478B14
analogous
#1C148B #58148B #8B1482
triadic
#58148B #8B5814 #148B58
tetradic
#58148B #8B1C14 #478B14 #14828B
square
#58148B #8B1C14 #478B14 #14828B
split-complementary
#58148B #828B14 #148B1C
monochromatic
#140520 #360C55 #58148B #7A1CC1 #9937E2

Accessibility & contrast

On white

11.12
#58148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58148B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58148B#FFFFFF#000000##FFFFFF
##58148B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#4E3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58148b;
/* rgb */ color: rgb(88, 20, 139);
/* oklch */ color: oklch(37.7% 0.178 304.4);
Tailwind
colors: {
  custom: {
    50: '#8d5cae',
    500: '#58148b',
    950: '#000000',
  },
}
SCSS
$custom: #58148b;
$custom-light: #8d5cae;
$custom-dark: #000000;
JSON
{
  "hex": "#58148b",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 274.286,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37727,
    "c": 0.17757,
    "h": 304.4
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#58148B
secondary
#74BF3C
accent
#F13687
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58148B

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

Preview Lab → · Contrast checker → · Palette generator →

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