#5D3FBB#5D3FBB

#5D3FBB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.185 H 288.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D3FBB
RGBrgb(93, 63, 187)
HSLhsl(255, 50%, 49%)
HSVhsv(255, 66%, 73%)
CMYKcmyk(50.3%, 66.3%, 0%, 26.7%)
CIE-LABlab(36.87, 43.85, -61.08)
CIE-LCHlch(36.87, 75.19, 305.67°)
OKLaboklab(47.47% 0.0584 -0.1752)
OKLCHoklch(47.47% 0.185 288.4)
XYZxyz(15.2587, 9.4693, 48.0278)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FBB #9DBB3F
analogous
#3F5FBB #5D3FBB #9B3FBB
triadic
#5D3FBB #BB5D3F #3FBB5D
tetradic
#5D3FBB #BB3F5F #9DBB3F #3FBB9B
square
#5D3FBB #BB3F5F #9DBB3F #3FBB9B
split-complementary
#5D3FBB #BB9B3F #5FBB3F
monochromatic
#2F205F #46308D #5D3FBB #826ACD #A998DC

Accessibility & contrast

On white

7.26
#5D3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D3FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3FBB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FBB#FFFFFF#000000##FFFFFF
##5D3FBB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#3C5E77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3fbb;
/* rgb */ color: rgb(93, 63, 187);
/* oklch */ color: oklch(47.5% 0.185 288.4);
Tailwind
colors: {
  custom: {
    50: '#9376d0',
    500: '#5d3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fbb;
$custom-light: #9376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fbb",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 254.516,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.18463,
    "h": 288.4
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#5D3FBB
secondary
#BAC88E
accent
#D94FB8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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