#5C3DBA#5C3DBA

#5C3DBA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.186 H 288.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5C3DBA
RGBrgb(92, 61, 186)
HSLhsl(255, 51%, 48%)
HSVhsv(255, 67%, 73%)
CMYKcmyk(50.5%, 67.2%, 0%, 27.1%)
CIE-LABlab(36.29, 44.49, -61.46)
CIE-LCHlch(36.29, 75.87, 305.90°)
OKLaboklab(47% 0.059 -0.1763)
OKLCHoklch(47% 0.186 288.5)
XYZxyz(14.9427, 9.1573, 47.4250)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DBA #9BBA3D
analogous
#3D5CBA #5C3DBA #9A3DBA
triadic
#5C3DBA #BA5C3D #3DBA5C
tetradic
#5C3DBA #BA3D5C #9BBA3D #3DBA9A
square
#5C3DBA #BA3D5C #9BBA3D #3DBA9A
split-complementary
#5C3DBA #BA9A3D #5CBA3D
monochromatic
#2E1F5E #452E8C #5C3DBA #8067CD #A795DC

Accessibility & contrast

On white

7.42
#5C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DBA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DBA#FFFFFF#000000##FFFFFF
##5C3DBA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#3A5C76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3dba;
/* rgb */ color: rgb(92, 61, 186);
/* oklch */ color: oklch(47.0% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#9275d0',
    500: '#5c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dba;
$custom-light: #9275d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dba",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 254.88,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.18592,
    "h": 288.5
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#5C3DBA
secondary
#B9C88B
accent
#DA4EB7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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