#5C3BBE#5C3BBE

#5C3BBE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.193 H 288.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5C3BBE
RGBrgb(92, 59, 190)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.6%, 68.9%, 0%, 25.5%)
CIE-LABlab(36.21, 46.74, -63.93)
CIE-LCHlch(36.21, 79.19, 306.18°)
OKLaboklab(47.05% 0.0603 -0.1835)
OKLCHoklch(47.05% 0.193 288.2)
XYZxyz(15.2691, 9.1202, 49.6610)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BBE #9DBE3B
analogous
#3B5CBE #5C3BBE #9E3BBE
triadic
#5C3BBE #BE5C3B #3BBE5C
tetradic
#5C3BBE #BE3B5C #9DBE3B #3BBE9E
square
#5C3BBE #BE3B5C #9DBE3B #3BBE9E
split-complementary
#5C3BBE #BE9E3B #5CBE3B
monochromatic
#2F1E61 #452C8F #5C3BBE #8167D0 #A895DE

Accessibility & contrast

On white

7.44
#5C3BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C3BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BBE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BBE#FFFFFF#000000##FFFFFF
##5C3BBE1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#385D78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3bbe;
/* rgb */ color: rgb(92, 59, 190);
/* oklch */ color: oklch(47.0% 0.193 288.2);
Tailwind
colors: {
  custom: {
    50: '#9373d3',
    500: '#5c3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bbe;
$custom-light: #9373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bbe",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 255.115,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.19319,
    "h": 288.2
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#5C3BBE
secondary
#BACA8B
accent
#DC4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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