#5C48BB#5C48BB

#5C48BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.173 H 286.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5C48BB
RGBrgb(92, 72, 187)
HSLhsl(250, 46%, 51%)
HSVhsv(250, 61%, 73%)
CMYKcmyk(50.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(38.72, 38.47, -58.08)
CIE-LCHlch(38.72, 69.67, 303.51°)
OKLaboklab(48.79% 0.0478 -0.1664)
OKLCHoklch(48.79% 0.173 286)
XYZxyz(15.6980, 10.4971, 48.2031)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48BB #A7BB48
analogous
#486DBB #5C48BB #9548BB
triadic
#5C48BB #BB5C48 #48BB5C
tetradic
#5C48BB #BB486D #A7BB48 #48BB95
square
#5C48BB #BB486D #A7BB48 #48BB95
split-complementary
#5C48BB #BB9548 #6DBB48
monochromatic
#302564 #453690 #5C48BB #8475CC #ABA1DC

Accessibility & contrast

On white

6.78
#5C48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48BB#FFFFFF#000000##FFFFFF
##5C48BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#39637A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c48bb;
/* rgb */ color: rgb(92, 72, 187);
/* oklch */ color: oklch(48.8% 0.173 286.0);
Tailwind
colors: {
  custom: {
    50: '#927cd0',
    500: '#5c48bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c48bb;
$custom-light: #927cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48bb",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 250.435,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.1731,
    "h": 286
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#5C48BB
secondary
#C0C996
accent
#D552BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5C48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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