#5C3BD4#5C3BD4

#5C3BD4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.219 H 284.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5C3BD4
RGBrgb(92, 59, 212)
HSLhsl(253, 64%, 53%)
HSVhsv(253, 72%, 83%)
CMYKcmyk(56.6%, 72.2%, 0%, 16.9%)
CIE-LABlab(38.12, 53.10, -73.60)
CIE-LCHlch(38.12, 90.76, 305.81°)
OKLaboklab(48.99% 0.056 -0.2119)
OKLCHoklch(48.99% 0.219 284.8)
XYZxyz(17.8576, 10.1556, 63.2938)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BD4 #B3D43B
analogous
#3B66D4 #5C3BD4 #A83BD4
triadic
#5C3BD4 #D45C3B #3BD45C
tetradic
#5C3BD4 #D43B66 #B3D43B #3BD4A8
square
#5C3BD4 #D43B66 #B3D43B #3BD4A8
split-complementary
#5C3BD4 #D4A83B #66D43B
monochromatic
#2F1B7A #4326AC #5C3BD4 #866DDF #AF9FEA

Accessibility & contrast

On white

6.93
#5C3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5C3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3BD4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BD4#FFFFFF#000000##FFFFFF
##5C3BD41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#1E6584
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3bd4;
/* rgb */ color: rgb(92, 59, 212);
/* oklch */ color: oklch(49.0% 0.219 284.8);
Tailwind
colors: {
  custom: {
    50: '#9674e2',
    500: '#5c3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bd4;
$custom-light: #9674e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bd4",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 252.941,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.2192,
    "h": 284.8
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#5C3BD4
secondary
#C8D694
accent
#E741C3
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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