#58387F#58387F

#58387F is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.3% C 0.117 H 302.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#58387F
RGBrgb(88, 56, 127)
HSLhsl(267, 39%, 36%)
HSVhsv(267, 56%, 50%)
CMYKcmyk(30.7%, 55.9%, 0%, 50.2%)
CIE-LABlab(30.49, 29.77, -35.09)
CIE-LCHlch(30.49, 46.02, 310.31°)
OKLaboklab(41.32% 0.0627 -0.0989)
OKLCHoklch(41.32% 0.117 302.4)
XYZxyz(9.2686, 6.4354, 20.8284)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58387F #5F7F38
analogous
#383B7F #58387F #7B387F
triadic
#58387F #7F5838 #387F58
tetradic
#58387F #7F383B #5F7F38 #387F7B
square
#58387F #7F383B #5F7F38 #387F7B
split-complementary
#58387F #7F7B38 #3B7F38
monochromatic
#1D132A #3B2555 #58387F #754BA9 #9571C0

Accessibility & contrast

On white

9.18
#58387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#58387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58387F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58387F#FFFFFF#000000##FFFFFF
##58387F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#28487D
Tritanopia (blue-blind)
#514656
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58387f;
/* rgb */ color: rgb(88, 56, 127);
/* oklch */ color: oklch(41.3% 0.117 302.4);
Tailwind
colors: {
  custom: {
    50: '#8a70a4',
    500: '#58387f',
    950: '#000000',
  },
}
SCSS
$custom: #58387f;
$custom-light: #8a70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58387f",
  "rgb": {
    "r": 88,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 267.042,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.11715,
    "h": 302.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#58387F
secondary
#8DA969
accent
#CF599A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58387F

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

Preview Lab → · Contrast checker → · Palette generator →

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