#5C3DC0#5C3DC0

#5C3DC0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.193 H 287.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5C3DC0
RGBrgb(92, 61, 192)
HSLhsl(254, 52%, 50%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(52.1%, 68.2%, 0%, 24.7%)
CIE-LABlab(36.78, 46.24, -64.18)
CIE-LCHlch(36.78, 79.10, 305.77°)
OKLaboklab(47.5% 0.0581 -0.1843)
OKLCHoklch(47.5% 0.193 287.5)
XYZxyz(15.5940, 9.4178, 50.8551)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DC0 #A1C03D
analogous
#3D60C0 #5C3DC0 #9D3DC0
triadic
#5C3DC0 #C05C3D #3DC05C
tetradic
#5C3DC0 #C03D60 #A1C03D #3DC09D
square
#5C3DC0 #C03D60 #A1C03D #3DC09D
split-complementary
#5C3DC0 #C09D3D #60C03D
monochromatic
#2F1F63 #462E92 #5C3DC0 #826AD0 #A999DF

Accessibility & contrast

On white

7.28
#5C3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5C3DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DC0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DC0#FFFFFF#000000##FFFFFF
##5C3DC01.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#365E7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3dc0;
/* rgb */ color: rgb(92, 61, 192);
/* oklch */ color: oklch(47.5% 0.193 287.5);
Tailwind
colors: {
  custom: {
    50: '#9375d4',
    500: '#5c3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dc0;
$custom-light: #9375d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dc0",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 254.198,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.19325,
    "h": 287.5
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#5C3DC0
secondary
#BCCA8E
accent
#DB4DB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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