#5D3FB3#5D3FB3

#5D3FB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.175 H 289.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5D3FB3
RGBrgb(93, 63, 179)
HSLhsl(256, 48%, 47%)
HSVhsv(256, 65%, 70%)
CMYKcmyk(48%, 64.8%, 0%, 29.8%)
CIE-LABlab(36.25, 41.51, -57.38)
CIE-LCHlch(36.25, 70.83, 305.88°)
OKLaboklab(46.82% 0.0593 -0.1643)
OKLCHoklch(46.82% 0.175 289.8)
XYZxyz(14.4261, 9.1363, 43.6425)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FB3 #95B33F
analogous
#3F5BB3 #5D3FB3 #973FB3
triadic
#5D3FB3 #B35D3F #3FB35D
tetradic
#5D3FB3 #B33F5B #95B33F #3FB397
square
#5D3FB3 #B33F5B #95B33F #3FB397
split-complementary
#5D3FB3 #B3973F #5BB33F
monochromatic
#2E1F58 #452F86 #5D3FB3 #8066C9 #A593D9

Accessibility & contrast

On white

7.43
#5D3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D3FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3FB3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FB3#FFFFFF#000000##FFFFFF
##5D3FB31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#415B73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3fb3;
/* rgb */ color: rgb(93, 63, 179);
/* oklch */ color: oklch(46.8% 0.175 289.8);
Tailwind
colors: {
  custom: {
    50: '#9276cb',
    500: '#5d3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fb3;
$custom-light: #9276cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fb3",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 255.517,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.17466,
    "h": 289.8
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#5D3FB3
secondary
#B5C489
accent
#D850B5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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