#5C3DCB#5C3DCB

#5C3DCB is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.206 H 285.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5C3DCB
RGBrgb(92, 61, 203)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.7%, 70%, 0%, 20.4%)
CIE-LABlab(37.71, 49.44, -69.08)
CIE-LCHlch(37.71, 84.95, 305.59°)
OKLaboklab(48.45% 0.0562 -0.1987)
OKLCHoklch(48.45% 0.206 285.8)
XYZxyz(16.8586, 9.9237, 57.5155)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DCB #ACCB3D
analogous
#3D65CB #5C3DCB #A33DCB
triadic
#5C3DCB #CB5C3D #3DCB5C
tetradic
#5C3DCB #CB3D65 #ACCB3D #3DCBA3
square
#5C3DCB #CB3D65 #ACCB3D #3DCBA3
split-complementary
#5C3DCB #CBA33D #65CB3D
monochromatic
#301E70 #442BA0 #5C3DCB #856DD8 #AD9EE5

Accessibility & contrast

On white

7.04
#5C3DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5C3DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DCB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DCB#FFFFFF#000000##FFFFFF
##5C3DCB1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#2B6280
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3dcb;
/* rgb */ color: rgb(92, 61, 203);
/* oklch */ color: oklch(48.5% 0.206 285.8);
Tailwind
colors: {
  custom: {
    50: '#9575dc',
    500: '#5c3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dcb;
$custom-light: #9575dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dcb",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 253.099,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.20646,
    "h": 285.8
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#5C3DCB
secondary
#C3D193
accent
#E147BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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