#5C41BB#5C41BB

#5C41BB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.182 H 287.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5C41BB
RGBrgb(92, 65, 187)
HSLhsl(253, 48%, 49%)
HSVhsv(253, 65%, 73%)
CMYKcmyk(50.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(37.19, 42.53, -60.57)
CIE-LCHlch(37.19, 74.01, 305.08°)
OKLaboklab(47.68% 0.055 -0.1737)
OKLCHoklch(47.68% 0.182 287.6)
XYZxyz(15.2709, 9.6430, 48.0607)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41BB #A0BB41
analogous
#4163BB #5C41BB #9941BB
triadic
#5C41BB #BB5C41 #41BB5C
tetradic
#5C41BB #BB4163 #A0BB41 #41BB99
square
#5C41BB #BB4163 #A0BB41 #41BB99
split-complementary
#5C41BB #BB9941 #63BB41
monochromatic
#2F2160 #46318E #5C41BB #826DCC #A99ADC

Accessibility & contrast

On white

7.17
#5C41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C41BB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41BB#FFFFFF#000000##FFFFFF
##5C41BB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#395F78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c41bb;
/* rgb */ color: rgb(92, 65, 187);
/* oklch */ color: oklch(47.7% 0.182 287.6);
Tailwind
colors: {
  custom: {
    50: '#9277d0',
    500: '#5c41bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c41bb;
$custom-light: #9277d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41bb",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 253.279,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.18217,
    "h": 287.6
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#5C41BB
secondary
#BCC890
accent
#D850BA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5C41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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