#5C3192#5C3192

#5C3192 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 300.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5C3192
RGBrgb(92, 49, 146)
HSLhsl(267, 50%, 38%)
HSVhsv(267, 66%, 57%)
CMYKcmyk(37%, 66.4%, 0%, 42.7%)
CIE-LABlab(30.75, 39.90, -46.41)
CIE-LCHlch(30.75, 61.20, 310.69°)
OKLaboklab(42.04% 0.077 -0.132)
OKLCHoklch(42.04% 0.153 300.3)
XYZxyz(10.6990, 6.5472, 27.8886)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3192 #679231
analogous
#313692 #5C3192 #8C3192
triadic
#5C3192 #925C31 #31925C
tetradic
#5C3192 #923136 #679231 #31928C
square
#5C3192 #923136 #679231 #31928C
split-complementary
#5C3192 #928C31 #369231
monochromatic
#221236 #3F2264 #5C3192 #7941BF #996FCF

Accessibility & contrast

On white

9.09
#5C3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5C3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3192
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3192#FFFFFF#000000##FFFFFF
##5C31921.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#014890
Tritanopia (blue-blind)
#50475D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c3192;
/* rgb */ color: rgb(92, 49, 146);
/* oklch */ color: oklch(42.0% 0.153 300.3);
Tailwind
colors: {
  custom: {
    50: '#8e6cb3',
    500: '#5c3192',
    950: '#000000',
  },
}
SCSS
$custom: #5c3192;
$custom-light: #8e6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3192",
  "rgb": {
    "r": 92,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 266.598,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.15284,
    "h": 300.3
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#5C3192
secondary
#94B669
accent
#D94F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5C3192

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

Preview Lab → · Contrast checker → · Palette generator →

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