#5D4ABC#5D4ABC

#5D4ABC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.172 H 285.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5D4ABC
RGBrgb(93, 74, 188)
HSLhsl(250, 46%, 51%)
HSVhsv(250, 61%, 74%)
CMYKcmyk(50.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(39.33, 37.78, -57.67)
CIE-LCHlch(39.33, 68.94, 303.23°)
OKLaboklab(49.28% 0.047 -0.1651)
OKLCHoklch(49.28% 0.172 285.9)
XYZxyz(16.0374, 10.8548, 48.8173)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ABC #A9BC4A
analogous
#4A70BC #5D4ABC #964ABC
triadic
#5D4ABC #BC5D4A #4ABC5D
tetradic
#5D4ABC #BC4A70 #A9BC4A #4ABC96
square
#5D4ABC #BC4A70 #A9BC4A #4ABC96
split-complementary
#5D4ABC #BC964A #70BC4A
monochromatic
#302666 #463693 #5D4ABC #8577CD #ADA3DD

Accessibility & contrast

On white

6.62
#5D4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5D4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ABC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ABC#FFFFFF#000000##FFFFFF
##5D4ABC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#3A657C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4abc;
/* rgb */ color: rgb(93, 74, 188);
/* oklch */ color: oklch(49.3% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#927dd1',
    500: '#5d4abc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4abc;
$custom-light: #927dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4abc",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 250,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.17167,
    "h": 285.9
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#5D4ABC
secondary
#C2CA98
accent
#D652C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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