#5C48BC#5C48BC

#5C48BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.174 H 285.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5C48BC
RGBrgb(92, 72, 188)
HSLhsl(250, 46%, 51%)
HSVhsv(250, 62%, 74%)
CMYKcmyk(51.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(38.79, 38.77, -58.55)
CIE-LCHlch(38.79, 70.22, 303.51°)
OKLaboklab(48.87% 0.0478 -0.1677)
OKLCHoklch(48.87% 0.174 285.9)
XYZxyz(15.8054, 10.5401, 48.7688)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48BC #A8BC48
analogous
#486EBC #5C48BC #9648BC
triadic
#5C48BC #BC5C48 #48BC5C
tetradic
#5C48BC #BC486E #A8BC48 #48BC96
square
#5C48BC #BC486E #A8BC48 #48BC96
split-complementary
#5C48BC #BC9648 #6EBC48
monochromatic
#302565 #453592 #5C48BC #8475CC #ACA2DD

Accessibility & contrast

On white

6.76
#5C48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5C48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48BC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48BC#FFFFFF#000000##FFFFFF
##5C48BC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#38647B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c48bc;
/* rgb */ color: rgb(92, 72, 188);
/* oklch */ color: oklch(48.9% 0.174 285.9);
Tailwind
colors: {
  custom: {
    50: '#927cd1',
    500: '#5c48bc',
    950: '#000000',
  },
}
SCSS
$custom: #5c48bc;
$custom-light: #927cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48bc",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 250.345,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.1744,
    "h": 285.9
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#5C48BC
secondary
#C1CA96
accent
#D652BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5C48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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