#5D41AF#5D41AF

#5D41AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.167 H 290.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5D41AF
RGBrgb(93, 65, 175)
HSLhsl(255, 46%, 47%)
HSVhsv(255, 63%, 69%)
CMYKcmyk(46.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.37, 39.20, -54.81)
CIE-LCHlch(36.37, 67.38, 305.57°)
OKLaboklab(46.82% 0.0575 -0.1567)
OKLCHoklch(46.82% 0.167 290.2)
XYZxyz(14.1402, 9.2024, 41.5803)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41AF #93AF41
analogous
#415CAF #5D41AF #9441AF
triadic
#5D41AF #AF5D41 #41AF5D
tetradic
#5D41AF #AF415C #93AF41 #41AF94
square
#5D41AF #AF415C #93AF41 #41AF94
split-complementary
#5D41AF #AF9441 #5CAF41
monochromatic
#2E2056 #453082 #5D41AF #7F67C6 #A593D7

Accessibility & contrast

On white

7.39
#5D41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5D41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D41AF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41AF#FFFFFF#000000##FFFFFF
##5D41AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#435B72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d41af;
/* rgb */ color: rgb(93, 65, 175);
/* oklch */ color: oklch(46.8% 0.167 290.2);
Tailwind
colors: {
  custom: {
    50: '#9177c8',
    500: '#5d41af',
    950: '#000000',
  },
}
SCSS
$custom: #5d41af;
$custom-light: #9177c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41af",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 255.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.16694,
    "h": 290.2
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#5D41AF
secondary
#B4C289
accent
#D552B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5D41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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