#5D489F#5D489F

#5D489F is a mid, vivid violet. Relative luminance 0.095; OKLCH L 46.8% C 0.136 H 291.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D489F
RGBrgb(93, 72, 159)
HSLhsl(254, 38%, 45%)
HSVhsv(254, 55%, 62%)
CMYKcmyk(41.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(36.86, 30.33, -44.45)
CIE-LCHlch(36.86, 53.81, 304.31°)
OKLaboklab(46.82% 0.0495 -0.1262)
OKLCHoklch(46.82% 0.136 291.4)
XYZxyz(13.0879, 9.4647, 33.9315)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D489F #8A9F48
analogous
#485E9F #5D489F #88489F
triadic
#5D489F #9F5D48 #489F5D
tetradic
#5D489F #9F485E #8A9F48 #489F88
square
#5D489F #9F485E #8A9F48 #489F88
split-complementary
#5D489F #9F8848 #5E9F48
monochromatic
#2C224B #443575 #5D489F #7D69BB #A193CE

Accessibility & contrast

On white

7.26
#5D489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D489F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D489F#FFFFFF#000000##FFFFFF
##5D489F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#4B5A6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d489f;
/* rgb */ color: rgb(93, 72, 159);
/* oklch */ color: oklch(46.8% 0.136 291.4);
Tailwind
colors: {
  custom: {
    50: '#8f7bbc',
    500: '#5d489f',
    950: '#000000',
  },
}
SCSS
$custom: #5d489f;
$custom-light: #8f7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d489f",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 254.483,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.13559,
    "h": 291.4
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#5D489F
secondary
#AEBA89
accent
#CE5AB2
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D489F

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

Preview Lab → · Contrast checker → · Palette generator →

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