#5D489B#5D489B

#5D489B is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.6% C 0.130 H 292.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5D489B
RGBrgb(93, 72, 155)
HSLhsl(255, 37%, 45%)
HSVhsv(255, 54%, 61%)
CMYKcmyk(40%, 53.5%, 0%, 39.2%)
CIE-LABlab(36.61, 29.17, -42.45)
CIE-LCHlch(36.61, 51.51, 304.49°)
OKLaboklab(46.55% 0.0493 -0.1204)
OKLCHoklch(46.55% 0.13 292.3)
XYZxyz(12.7464, 9.3281, 32.1329)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D489B #869B48
analogous
#485C9B #5D489B #87489B
triadic
#5D489B #9B5D48 #489B5D
tetradic
#5D489B #9B485C #869B48 #489B87
square
#5D489B #9B485C #869B48 #489B87
split-complementary
#5D489B #9B8748 #5C9B48
monochromatic
#2B2147 #443571 #5D489B #7C68B9 #A091CC

Accessibility & contrast

On white

7.33
#5D489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D489B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D489B#FFFFFF#000000##FFFFFF
##5D489B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#285599
Tritanopia (blue-blind)
#4D596A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d489b;
/* rgb */ color: rgb(93, 72, 155);
/* oklch */ color: oklch(46.6% 0.130 292.3);
Tailwind
colors: {
  custom: {
    50: '#8f7bb9',
    500: '#5d489b',
    950: '#000000',
  },
}
SCSS
$custom: #5d489b;
$custom-light: #8f7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d489b",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 255.181,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.13007,
    "h": 292.3
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#5D489B
secondary
#ABB887
accent
#CD5BB0
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #5D489B

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

Preview Lab → · Contrast checker → · Palette generator →

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