#5D46AF#5D46AF

#5D46AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.160 H 288.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5D46AF
RGBrgb(93, 70, 175)
HSLhsl(253, 43%, 48%)
HSVhsv(253, 60%, 69%)
CMYKcmyk(46.9%, 60%, 0%, 31.4%)
CIE-LABlab(37.48, 36.26, -53.00)
CIE-LCHlch(37.48, 64.22, 304.38°)
OKLaboklab(47.63% 0.0519 -0.1514)
OKLCHoklch(47.63% 0.16 288.9)
XYZxyz(14.4400, 9.8021, 41.6803)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46AF #98AF46
analogous
#4663AF #5D46AF #9146AF
triadic
#5D46AF #AF5D46 #46AF5D
tetradic
#5D46AF #AF4663 #98AF46 #46AF91
square
#5D46AF #AF4663 #98AF46 #46AF91
split-complementary
#5D46AF #AF9146 #63AF46
monochromatic
#2F2358 #463583 #5D46AF #816DC5 #A799D6

Accessibility & contrast

On white

7.09
#5D46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5D46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D46AF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46AF#FFFFFF#000000##FFFFFF
##5D46AF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#435E74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d46af;
/* rgb */ color: rgb(93, 70, 175);
/* oklch */ color: oklch(47.6% 0.160 288.9);
Tailwind
colors: {
  custom: {
    50: '#917ac8',
    500: '#5d46af',
    950: '#000000',
  },
}
SCSS
$custom: #5d46af;
$custom-light: #917ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46af",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 253.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.16006,
    "h": 288.9
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#5D46AF
secondary
#B7C28E
accent
#D355B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5D46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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