#5C38BF#5C38BF

#5C38BF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.198 H 288.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5C38BF
RGBrgb(92, 56, 191)
HSLhsl(256, 55%, 48%)
HSVhsv(256, 71%, 75%)
CMYKcmyk(51.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(35.72, 48.63, -65.32)
CIE-LCHlch(35.72, 81.43, 306.67°)
OKLaboklab(46.72% 0.0628 -0.1876)
OKLCHoklch(46.72% 0.198 288.5)
XYZxyz(15.2290, 8.8645, 50.1887)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C38BF #9BBF38
analogous
#3857BF #5C38BF #9F38BF
triadic
#5C38BF #BF5C38 #38BF5C
tetradic
#5C38BF #BF3857 #9BBF38 #38BF9F
square
#5C38BF #BF3857 #9BBF38 #38BF9F
split-complementary
#5C38BF #BF9F38 #57BF38
monochromatic
#2E1C60 #452A90 #5C38BF #8063D1 #A792DF

Accessibility & contrast

On white

7.57
#5C38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C38BF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C38BF#FFFFFF#000000##FFFFFF
##5C38BF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#375B78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c38bf;
/* rgb */ color: rgb(92, 56, 191);
/* oklch */ color: oklch(46.7% 0.198 288.5);
Tailwind
colors: {
  custom: {
    50: '#9472d3',
    500: '#5c38bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c38bf;
$custom-light: #9472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c38bf",
  "rgb": {
    "r": 92,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 256,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.19785,
    "h": 288.5
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#5C38BF
secondary
#B9CA89
accent
#DE4AB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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