#58387D#58387D

#58387D is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.2% C 0.115 H 303.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#58387D
RGBrgb(88, 56, 125)
HSLhsl(268, 38%, 35%)
HSVhsv(268, 55%, 49%)
CMYKcmyk(29.6%, 55.2%, 0%, 51%)
CIE-LABlab(30.36, 29.24, -34.04)
CIE-LCHlch(30.36, 44.87, 310.66°)
OKLaboklab(41.19% 0.0626 -0.0959)
OKLCHoklch(41.19% 0.115 303.1)
XYZxyz(9.1395, 6.3837, 20.1488)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58387D #5D7D38
analogous
#383A7D #58387D #7A387D
triadic
#58387D #7D5838 #387D58
tetradic
#58387D #7D383A #5D7D38 #387D7A
square
#58387D #7D383A #5D7D38 #387D7A
split-complementary
#58387D #7D7A38 #3A7D38
monochromatic
#1C1228 #3A2553 #58387D #764BA7 #9570BF

Accessibility & contrast

On white

9.22
#58387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#58387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58387D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58387D#FFFFFF#000000##FFFFFF
##58387D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#514555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #58387d;
/* rgb */ color: rgb(88, 56, 125);
/* oklch */ color: oklch(41.2% 0.115 303.1);
Tailwind
colors: {
  custom: {
    50: '#8970a3',
    500: '#58387d',
    950: '#000000',
  },
}
SCSS
$custom: #58387d;
$custom-light: #8970a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58387d",
  "rgb": {
    "r": 88,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 267.826,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.1145,
    "h": 303.1
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#58387D
secondary
#8BA869
accent
#CE5A98
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58387D

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

Preview Lab → · Contrast checker → · Palette generator →

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