#58348B#58348B

#58348B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.139 H 299.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#58348B
RGBrgb(88, 52, 139)
HSLhsl(265, 46%, 37%)
HSVhsv(265, 63%, 55%)
CMYKcmyk(36.7%, 62.6%, 0%, 45.5%)
CIE-LABlab(30.39, 35.40, -42.71)
CIE-LCHlch(30.39, 55.47, 309.65°)
OKLaboklab(41.51% 0.0682 -0.1213)
OKLCHoklch(41.51% 0.139 299.3)
XYZxyz(9.9115, 6.3947, 25.1332)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58348B #678B34
analogous
#343B8B #58348B #84348B
triadic
#58348B #8B5834 #348B58
tetradic
#58348B #8B343B #678B34 #348B84
square
#58348B #8B343B #678B34 #348B84
split-complementary
#58348B #8B8434 #3B8B34
monochromatic
#201332 #3C235E #58348B #7445B8 #9570C9

Accessibility & contrast

On white

9.21
#58348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#58348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58348B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58348B#FFFFFF#000000##FFFFFF
##58348B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#4D475A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58348b;
/* rgb */ color: rgb(88, 52, 139);
/* oklch */ color: oklch(41.5% 0.139 299.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dad',
    500: '#58348b',
    950: '#000000',
  },
}
SCSS
$custom: #58348b;
$custom-light: #8b6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#58348b",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 264.828,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.13913,
    "h": 299.3
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#58348B
secondary
#94B269
accent
#D5539F
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58348B

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

Preview Lab → · Contrast checker → · Palette generator →

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