#5D41BE#5D41BE

#5D41BE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.186 H 287.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5D41BE
RGBrgb(93, 65, 190)
HSLhsl(253, 49%, 50%)
HSVhsv(253, 66%, 75%)
CMYKcmyk(51.1%, 65.8%, 0%, 25.5%)
CIE-LABlab(37.53, 43.60, -61.78)
CIE-LCHlch(37.53, 75.62, 305.21°)
OKLaboklab(48.02% 0.056 -0.1772)
OKLCHoklch(48.02% 0.186 287.5)
XYZxyz(15.6960, 9.8247, 49.7745)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41BE #A2BE41
analogous
#4163BE #5D41BE #9C41BE
triadic
#5D41BE #BE5D41 #41BE5D
tetradic
#5D41BE #BE4163 #A2BE41 #41BE9C
square
#5D41BE #BE4163 #A2BE41 #41BE9C
split-complementary
#5D41BE #BE9C41 #63BE41
monochromatic
#302263 #473190 #5D41BE #846FCE #AB9CDD

Accessibility & contrast

On white

7.08
#5D41BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D41BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D41BE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41BE#FFFFFF#000000##FFFFFF
##5D41BE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#39607A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d41be;
/* rgb */ color: rgb(93, 65, 190);
/* oklch */ color: oklch(48.0% 0.186 287.5);
Tailwind
colors: {
  custom: {
    50: '#9377d3',
    500: '#5d41be',
    950: '#000000',
  },
}
SCSS
$custom: #5d41be;
$custom-light: #9377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41be",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 253.44,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.18586,
    "h": 287.5
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#5D41BE
secondary
#BDC991
accent
#D94FBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5D41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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