#5C41BF#5C41BF

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

Color values

HEX#5C41BF
RGBrgb(92, 65, 191)
HSLhsl(253, 50%, 50%)
HSVhsv(253, 66%, 75%)
CMYKcmyk(51.8%, 66%, 0%, 25.1%)
CIE-LABlab(37.51, 43.72, -62.40)
CIE-LCHlch(37.51, 76.19, 305.02°)
OKLaboklab(48.01% 0.0545 -0.1791)
OKLCHoklch(48.01% 0.187 286.9)
XYZxyz(15.7051, 9.8167, 50.3474)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41BF #A4BF41
analogous
#4165BF #5C41BF #9B41BF
triadic
#5C41BF #BF5C41 #41BF5C
tetradic
#5C41BF #BF4165 #A4BF41 #41BF9B
square
#5C41BF #BF4165 #A4BF41 #41BF9B
split-complementary
#5C41BF #BF9B41 #65BF41
monochromatic
#302264 #463192 #5C41BF #836FCE #AB9DDE

Accessibility & contrast

On white

7.09
#5C41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C41BF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41BF#FFFFFF#000000##FFFFFF
##5C41BF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c41bf;
/* rgb */ color: rgb(92, 65, 191);
/* oklch */ color: oklch(48.0% 0.187 286.9);
Tailwind
colors: {
  custom: {
    50: '#9377d3',
    500: '#5c41bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c41bf;
$custom-light: #9377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41bf",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 252.857,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.18717,
    "h": 286.9
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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