#5D3DBB#5D3DBB

#5D3DBB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.187 H 288.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5D3DBB
RGBrgb(93, 61, 187)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 73%)
CMYKcmyk(50.3%, 67.4%, 0%, 26.7%)
CIE-LABlab(36.46, 44.96, -61.75)
CIE-LCHlch(36.46, 76.38, 306.06°)
OKLaboklab(47.18% 0.0603 -0.1771)
OKLCHoklch(47.18% 0.187 288.8)
XYZxyz(15.1500, 9.2518, 47.9916)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DBB #9BBB3D
analogous
#3D5CBB #5D3DBB #9C3DBB
triadic
#5D3DBB #BB5D3D #3DBB5D
tetradic
#5D3DBB #BB3D5C #9BBB3D #3DBB9C
square
#5D3DBB #BB3D5C #9BBB3D #3DBB9C
split-complementary
#5D3DBB #BB9C3D #5CBB3D
monochromatic
#2F1F5F #462E8D #5D3DBB #8168CE #A896DD

Accessibility & contrast

On white

7.37
#5D3DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D3DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DBB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DBB#FFFFFF#000000##FFFFFF
##5D3DBB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#3C5C77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3dbb;
/* rgb */ color: rgb(93, 61, 187);
/* oklch */ color: oklch(47.2% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#9375d0',
    500: '#5d3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dbb;
$custom-light: #9375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dbb",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 255.238,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.1871,
    "h": 288.8
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#5D3DBB
secondary
#B9C88C
accent
#DA4EB7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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