#5D3EB0#5D3EB0

#5D3EB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.172 H 290.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#5D3EB0
RGBrgb(93, 62, 176)
HSLhsl(256, 48%, 47%)
HSVhsv(256, 65%, 69%)
CMYKcmyk(47.2%, 64.8%, 0%, 31%)
CIE-LABlab(35.80, 41.21, -56.32)
CIE-LCHlch(35.80, 69.79, 306.19°)
OKLaboklab(46.43% 0.0607 -0.1612)
OKLCHoklch(46.43% 0.172 290.6)
XYZxyz(14.0711, 8.9065, 42.0436)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EB0 #91B03E
analogous
#3E58B0 #5D3EB0 #963EB0
triadic
#5D3EB0 #B05D3E #3EB05D
tetradic
#5D3EB0 #B03E58 #91B03E #3EB096
square
#5D3EB0 #B03E58 #91B03E #3EB096
split-complementary
#5D3EB0 #B0963E #58B03E
monochromatic
#2D1E55 #452E83 #5D3EB0 #7F63C8 #A490D8

Accessibility & contrast

On white

7.55
#5D3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EB0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EB0#FFFFFF#000000##FFFFFF
##5D3EB01.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#435971
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3eb0;
/* rgb */ color: rgb(93, 62, 176);
/* oklch */ color: oklch(46.4% 0.172 290.6);
Tailwind
colors: {
  custom: {
    50: '#9275c8',
    500: '#5d3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3eb0;
$custom-light: #9275c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3eb0",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 256.316,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.17221,
    "h": 290.6
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#5D3EB0
secondary
#B3C387
accent
#D750B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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