#5C3883#5C3883

#5C3883 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.123 H 303.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#5C3883
RGBrgb(92, 56, 131)
HSLhsl(269, 40%, 37%)
HSVhsv(269, 57%, 51%)
CMYKcmyk(29.8%, 57.3%, 0%, 48.6%)
CIE-LABlab(31.21, 31.94, -36.39)
CIE-LCHlch(31.21, 48.42, 311.27°)
OKLaboklab(42.05% 0.0685 -0.1026)
OKLCHoklch(42.05% 0.123 303.7)
XYZxyz(9.9236, 6.7424, 22.2469)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3883 #5F8338
analogous
#383A83 #5C3883 #823883
triadic
#5C3883 #835C38 #38835C
tetradic
#5C3883 #83383A #5F8338 #388382
square
#5C3883 #83383A #5F8338 #388382
split-complementary
#5C3883 #838238 #3A8338
monochromatic
#20132D #3E2658 #5C3883 #7A4AAE #9972C3

Accessibility & contrast

On white

8.94
#5C3883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C3883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3883
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3883#FFFFFF#000000##FFFFFF
##5C38831.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#284981
Tritanopia (blue-blind)
#554658
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c3883;
/* rgb */ color: rgb(92, 56, 131);
/* oklch */ color: oklch(42.0% 0.123 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d70a7',
    500: '#5c3883',
    950: '#000000',
  },
}
SCSS
$custom: #5c3883;
$custom-light: #8d70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3883",
  "rgb": {
    "r": 92,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 268.8,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.12338,
    "h": 303.7
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#5C3883
secondary
#8DAC6B
accent
#D05896
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5C3883

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

Preview Lab → · Contrast checker → · Palette generator →

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