#5C3DBB#5C3DBB

#5C3DBB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.187 H 288.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5C3DBB
RGBrgb(92, 61, 187)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 73%)
CMYKcmyk(50.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(36.37, 44.78, -61.91)
CIE-LCHlch(36.37, 76.41, 305.88°)
OKLaboklab(47.08% 0.0589 -0.1776)
OKLCHoklch(47.08% 0.187 288.3)
XYZxyz(15.0494, 9.2000, 47.9869)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DBB #9CBB3D
analogous
#3D5DBB #5C3DBB #9B3DBB
triadic
#5C3DBB #BB5C3D #3DBB5C
tetradic
#5C3DBB #BB3D5D #9CBB3D #3DBB9B
square
#5C3DBB #BB3D5D #9CBB3D #3DBB9B
split-complementary
#5C3DBB #BB9B3D #5DBB3D
monochromatic
#2F1F5F #452E8D #5C3DBB #8168CE #A796DD

Accessibility & contrast

On white

7.39
#5C3DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C3DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DBB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DBB#FFFFFF#000000##FFFFFF
##5C3DBB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#3A5D77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3dbb;
/* rgb */ color: rgb(92, 61, 187);
/* oklch */ color: oklch(47.1% 0.187 288.3);
Tailwind
colors: {
  custom: {
    50: '#9375d0',
    500: '#5c3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dbb;
$custom-light: #9375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dbb",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 254.762,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.18715,
    "h": 288.3
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#5C3DBB
secondary
#B9C88C
accent
#DA4EB8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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