#5C4BAE#5C4BAE

#5C4BAE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.3% C 0.152 H 287.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5C4BAE
RGBrgb(92, 75, 174)
HSLhsl(250, 40%, 49%)
HSVhsv(250, 57%, 68%)
CMYKcmyk(47.1%, 56.9%, 0%, 31.8%)
CIE-LABlab(38.49, 32.73, -50.80)
CIE-LCHlch(38.49, 60.43, 302.79°)
OKLaboklab(48.32% 0.0448 -0.1449)
OKLCHoklch(48.32% 0.152 287.2)
XYZxyz(14.5675, 10.3628, 41.2689)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BAE #9DAE4B
analogous
#4B6CAE #5C4BAE #8E4BAE
triadic
#5C4BAE #AE5C4B #4BAE5C
tetradic
#5C4BAE #AE4B6C #9DAE4B #4BAE8E
square
#5C4BAE #AE4B6C #9DAE4B #4BAE8E
split-complementary
#5C4BAE #AE8E4B #6CAE4B
monochromatic
#2F2658 #453983 #5C4BAE #8173C3 #A89ED5

Accessibility & contrast

On white

6.83
#5C4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5C4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4BAE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BAE#FFFFFF#000000##FFFFFF
##5C4BAE1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB1
Deuteranopia (green-blind)
#0B58AC
Tritanopia (blue-blind)
#416175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c4bae;
/* rgb */ color: rgb(92, 75, 174);
/* oklch */ color: oklch(48.3% 0.152 287.2);
Tailwind
colors: {
  custom: {
    50: '#907ec7',
    500: '#5c4bae',
    950: '#000000',
  },
}
SCSS
$custom: #5c4bae;
$custom-light: #907ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4bae",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 250.303,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.1517,
    "h": 287.2
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#5C4BAE
secondary
#BAC293
accent
#D058BB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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