#5D459F#5D459F

#5D459F is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.140 H 292.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D459F
RGBrgb(93, 69, 159)
HSLhsl(256, 39%, 45%)
HSVhsv(256, 57%, 62%)
CMYKcmyk(41.5%, 56.6%, 0%, 37.6%)
CIE-LABlab(36.15, 32.16, -45.60)
CIE-LCHlch(36.15, 55.80, 305.20°)
OKLaboklab(46.29% 0.0533 -0.1296)
OKLCHoklch(46.29% 0.14 292.3)
XYZxyz(12.8986, 9.0862, 33.8684)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D459F #879F45
analogous
#455A9F #5D459F #8A459F
triadic
#5D459F #9F5D45 #459F5D
tetradic
#5D459F #9F455A #879F45 #459F8A
square
#5D459F #9F455A #879F45 #459F8A
split-complementary
#5D459F #9F8A45 #5A9F45
monochromatic
#2B204A #443274 #5D459F #7C65BC #A190CF

Accessibility & contrast

On white

7.45
#5D459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D459F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D459F#FFFFFF#000000##FFFFFF
##5D459F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#1D539D
Tritanopia (blue-blind)
#4B586B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d459f;
/* rgb */ color: rgb(93, 69, 159);
/* oklch */ color: oklch(46.3% 0.140 292.3);
Tailwind
colors: {
  custom: {
    50: '#8f79bc',
    500: '#5d459f',
    950: '#000000',
  },
}
SCSS
$custom: #5d459f;
$custom-light: #8f79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d459f",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 256,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.14015,
    "h": 292.3
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#5D459F
secondary
#ACBA86
accent
#CF58B0
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D459F

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

Preview Lab → · Contrast checker → · Palette generator →

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