#5D459D#5D459D

#5D459D is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.2% C 0.137 H 292.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5D459D
RGBrgb(93, 69, 157)
HSLhsl(256, 39%, 44%)
HSVhsv(256, 56%, 62%)
CMYKcmyk(40.8%, 56.1%, 0%, 38.4%)
CIE-LABlab(36.02, 31.58, -44.61)
CIE-LCHlch(36.02, 54.65, 305.30°)
OKLaboklab(46.16% 0.0532 -0.1267)
OKLCHoklch(46.16% 0.137 292.8)
XYZxyz(12.7265, 9.0174, 32.9618)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D459D #859D45
analogous
#45599D #5D459D #89459D
triadic
#5D459D #9D5D45 #459D5D
tetradic
#5D459D #9D4559 #859D45 #459D89
square
#5D459D #9D4559 #859D45 #459D89
split-complementary
#5D459D #9D8945 #599D45
monochromatic
#2B2048 #443272 #5D459D #7C64BB #A08FCE

Accessibility & contrast

On white

7.49
#5D459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D459D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D459D#FFFFFF#000000##FFFFFF
##5D459D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#20539B
Tritanopia (blue-blind)
#4C586A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d459d;
/* rgb */ color: rgb(93, 69, 157);
/* oklch */ color: oklch(46.2% 0.137 292.8);
Tailwind
colors: {
  custom: {
    50: '#8f79ba',
    500: '#5d459d',
    950: '#000000',
  },
}
SCSS
$custom: #5d459d;
$custom-light: #8f79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5d459d",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 256.364,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.13744,
    "h": 292.8
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#5D459D
secondary
#ABB985
accent
#CF59AF
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D459D

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

Preview Lab → · Contrast checker → · Palette generator →

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