#5D488D#5D488D

#5D488D is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.6% C 0.110 H 295.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5D488D
RGBrgb(93, 72, 141)
HSLhsl(258, 32%, 42%)
HSVhsv(258, 49%, 55%)
CMYKcmyk(34%, 48.9%, 0%, 44.7%)
CIE-LABlab(35.76, 25.18, -35.30)
CIE-LCHlch(35.76, 43.36, 305.49°)
OKLaboklab(45.65% 0.048 -0.0994)
OKLCHoklch(45.65% 0.11 295.7)
XYZxyz(11.6381, 8.8848, 26.2959)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D488D #788D48
analogous
#48568D #5D488D #80488D
triadic
#5D488D #8D5D48 #488D5D
tetradic
#5D488D #8D4856 #788D48 #488D80
square
#5D488D #8D4856 #788D48 #488D80
split-complementary
#5D488D #8D8048 #568D48
monochromatic
#281F3C #423364 #5D488D #7A63AF #9D8BC4

Accessibility & contrast

On white

7.56
#5D488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D488D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D488D#FFFFFF#000000##FFFFFF
##5D488D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#525564
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d488d;
/* rgb */ color: rgb(93, 72, 141);
/* oklch */ color: oklch(45.6% 0.110 295.7);
Tailwind
colors: {
  custom: {
    50: '#8d7baf',
    500: '#5d488d',
    950: '#000000',
  },
}
SCSS
$custom: #5d488d;
$custom-light: #8d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d488d",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 258.261,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.11041,
    "h": 295.7
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#5D488D
secondary
#A2B081
accent
#C95FA8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D488D

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

Preview Lab → · Contrast checker → · Palette generator →

#5D488D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva