#5D3FAF#5D3FAF

#5D3FAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.170 H 290.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5D3FAF
RGBrgb(93, 63, 175)
HSLhsl(256, 47%, 47%)
HSVhsv(256, 64%, 69%)
CMYKcmyk(46.9%, 64%, 0%, 31.4%)
CIE-LABlab(35.94, 40.35, -55.51)
CIE-LCHlch(35.94, 68.62, 306.02°)
OKLaboklab(46.5% 0.0597 -0.1588)
OKLCHoklch(46.5% 0.17 290.6)
XYZxyz(14.0274, 8.9768, 41.5427)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FAF #91AF3F
analogous
#3F59AF #5D3FAF #953FAF
triadic
#5D3FAF #AF5D3F #3FAF5D
tetradic
#5D3FAF #AF3F59 #91AF3F #3FAF95
square
#5D3FAF #AF3F59 #91AF3F #3FAF95
split-complementary
#5D3FAF #AF953F #59AF3F
monochromatic
#2D1F55 #452F82 #5D3FAF #7F64C7 #A491D7

Accessibility & contrast

On white

7.51
#5D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3FAF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FAF#FFFFFF#000000##FFFFFF
##5D3FAF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#445971
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3faf;
/* rgb */ color: rgb(93, 63, 175);
/* oklch */ color: oklch(46.5% 0.170 290.6);
Tailwind
colors: {
  custom: {
    50: '#9176c8',
    500: '#5d3faf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3faf;
$custom-light: #9176c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3faf",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 256.071,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.16963,
    "h": 290.6
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#5D3FAF
secondary
#B3C387
accent
#D751B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5D3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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