#5D41BF#5D41BF

#5D41BF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.187 H 287.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D41BF
RGBrgb(93, 65, 191)
HSLhsl(253, 50%, 50%)
HSVhsv(253, 66%, 75%)
CMYKcmyk(51.3%, 66%, 0%, 25.1%)
CIE-LABlab(37.61, 43.90, -62.24)
CIE-LCHlch(37.61, 76.16, 305.20°)
OKLaboklab(48.1% 0.0559 -0.1786)
OKLCHoklch(48.1% 0.187 287.4)
XYZxyz(15.8057, 9.8686, 50.3521)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41BF #A3BF41
analogous
#4164BF #5D41BF #9C41BF
triadic
#5D41BF #BF5D41 #41BF5D
tetradic
#5D41BF #BF4164 #A3BF41 #41BF9C
square
#5D41BF #BF4164 #A3BF41 #41BF9C
split-complementary
#5D41BF #BF9C41 #64BF41
monochromatic
#302264 #473192 #5D41BF #846FCE #AB9DDE

Accessibility & contrast

On white

7.06
#5D41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D41BF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41BF#FFFFFF#000000##FFFFFF
##5D41BF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d41bf;
/* rgb */ color: rgb(93, 65, 191);
/* oklch */ color: oklch(48.1% 0.187 287.4);
Tailwind
colors: {
  custom: {
    50: '#9377d3',
    500: '#5d41bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d41bf;
$custom-light: #9377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41bf",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 253.333,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.1871,
    "h": 287.4
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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