#5C49A3#5C49A3

#5C49A3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.2% C 0.140 H 289.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5C49A3
RGBrgb(92, 73, 163)
HSLhsl(253, 38%, 46%)
HSVhsv(253, 55%, 64%)
CMYKcmyk(43.6%, 55.2%, 0%, 36.1%)
CIE-LABlab(37.27, 30.65, -46.20)
CIE-LCHlch(37.27, 55.45, 303.56°)
OKLaboklab(47.19% 0.047 -0.1314)
OKLCHoklch(47.19% 0.14 289.7)
XYZxyz(13.4052, 9.6843, 35.8062)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C49A3 #90A349
analogous
#4963A3 #5C49A3 #8949A3
triadic
#5C49A3 #A35C49 #49A35C
tetradic
#5C49A3 #A34963 #90A349 #49A389
square
#5C49A3 #A34963 #90A349 #49A389
split-complementary
#5C49A3 #A38949 #63A349
monochromatic
#2C234E #443679 #5C49A3 #7D6CBD #A296D0

Accessibility & contrast

On white

7.15
#5C49A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5C49A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C49A3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C49A3#FFFFFF#000000##FFFFFF
##5C49A31.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A6
Deuteranopia (green-blind)
#1E56A1
Tritanopia (blue-blind)
#475C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c49a3;
/* rgb */ color: rgb(92, 73, 163);
/* oklch */ color: oklch(47.2% 0.140 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f7cbf',
    500: '#5c49a3',
    950: '#000000',
  },
}
SCSS
$custom: #5c49a3;
$custom-light: #8f7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c49a3",
  "rgb": {
    "r": 92,
    "g": 73,
    "b": 163
  },
  "hsl": {
    "h": 252.667,
    "s": 38.136,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.13959,
    "h": 289.7
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#5C49A3
secondary
#B2BC8C
accent
#CE5AB6
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5C49A3

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

Preview Lab → · Contrast checker → · Palette generator →

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