#58478D#58478D

#58478D is a dark, moderate violet. Relative luminance 0.085; OKLCH L 45.0% C 0.112 H 292.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#58478D
RGBrgb(88, 71, 141)
HSLhsl(255, 33%, 42%)
HSVhsv(255, 50%, 55%)
CMYKcmyk(37.6%, 49.6%, 0%, 44.7%)
CIE-LABlab(35.01, 24.41, -36.53)
CIE-LCHlch(35.01, 43.93, 303.75°)
OKLaboklab(44.97% 0.0428 -0.1032)
OKLCHoklch(44.97% 0.112 292.5)
XYZxyz(11.0842, 8.5040, 26.2516)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58478D #7C8D47
analogous
#47598D #58478D #7B478D
triadic
#58478D #8D5847 #478D58
tetradic
#58478D #8D4759 #7C8D47 #478D7B
square
#58478D #8D4759 #7C8D47 #478D7B
split-complementary
#58478D #8D7B47 #598D47
monochromatic
#251E3C #3F3364 #58478D #7462B0 #988AC4

Accessibility & contrast

On white

7.78
#58478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#58478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58478D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58478D#FFFFFF#000000##FFFFFF
##58478D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#4B5563
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #58478d;
/* rgb */ color: rgb(88, 71, 141);
/* oklch */ color: oklch(45.0% 0.112 292.5);
Tailwind
colors: {
  custom: {
    50: '#8a7aaf',
    500: '#58478d',
    950: '#000000',
  },
}
SCSS
$custom: #58478d;
$custom-light: #8a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#58478d",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 254.571,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.11168,
    "h": 292.5
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#58478D
secondary
#A4B080
accent
#C95FAF
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #58478D

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

Preview Lab → · Contrast checker → · Palette generator →

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