#5C3FCB#5C3FCB

#5C3FCB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.204 H 285.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5C3FCB
RGBrgb(92, 63, 203)
HSLhsl(252, 57%, 52%)
HSVhsv(252, 69%, 80%)
CMYKcmyk(54.7%, 69%, 0%, 20.4%)
CIE-LABlab(38.09, 48.37, -68.44)
CIE-LCHlch(38.09, 83.81, 305.25°)
OKLaboklab(48.73% 0.0545 -0.1968)
OKLCHoklch(48.73% 0.204 285.5)
XYZxyz(16.9674, 10.1412, 57.5517)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FCB #AECB3F
analogous
#3F68CB #5C3FCB #A23FCB
triadic
#5C3FCB #CB5C3F #3FCB5C
tetradic
#5C3FCB #CB3F68 #AECB3F #3FCBA2
square
#5C3FCB #CB3F68 #AECB3F #3FCBA2
split-complementary
#5C3FCB #CBA23F #68CB3F
monochromatic
#301F71 #442CA1 #5C3FCB #856FD8 #AE9FE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C3FCB#FFFFFF#000000##FFFFFF
##5C3FCB1.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)
#005DCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#2B6380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3fcb;
/* rgb */ color: rgb(92, 63, 203);
/* oklch */ color: oklch(48.7% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#9576dc',
    500: '#5c3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fcb;
$custom-light: #9576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fcb",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 252.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.20422,
    "h": 285.5
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#5C3FCB
secondary
#C5D194
accent
#E147C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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