#5D3FB2#5D3FB2

#5D3FB2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.173 H 290.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D3FB2
RGBrgb(93, 63, 178)
HSLhsl(256, 48%, 47%)
HSVhsv(256, 65%, 70%)
CMYKcmyk(47.8%, 64.6%, 0%, 30.2%)
CIE-LABlab(36.17, 41.22, -56.92)
CIE-LCHlch(36.17, 70.28, 305.92°)
OKLaboklab(46.74% 0.0594 -0.1629)
OKLCHoklch(46.74% 0.173 290)
XYZxyz(14.3253, 9.0960, 43.1117)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FB2 #94B23F
analogous
#3F5BB2 #5D3FB2 #973FB2
triadic
#5D3FB2 #B25D3F #3FB25D
tetradic
#5D3FB2 #B23F5B #94B23F #3FB297
square
#5D3FB2 #B23F5B #94B23F #3FB297
split-complementary
#5D3FB2 #B2973F #5BB23F
monochromatic
#2E1F58 #452F85 #5D3FB2 #7F66C9 #A593D9

Accessibility & contrast

On white

7.45
#5D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3FB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FB2#FFFFFF#000000##FFFFFF
##5D3FB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#425A73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3fb2;
/* rgb */ color: rgb(93, 63, 178);
/* oklch */ color: oklch(46.7% 0.173 290.0);
Tailwind
colors: {
  custom: {
    50: '#9276ca',
    500: '#5d3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fb2;
$custom-light: #9276ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fb2",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 255.652,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.17341,
    "h": 290
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#5D3FB2
secondary
#B5C489
accent
#D750B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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