#5C38BE#5C38BE

#5C38BE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.197 H 288.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5C38BE
RGBrgb(92, 56, 190)
HSLhsl(256, 54%, 48%)
HSVhsv(256, 71%, 75%)
CMYKcmyk(51.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(35.64, 48.34, -64.87)
CIE-LCHlch(35.64, 80.90, 306.70°)
OKLaboklab(46.64% 0.063 -0.1863)
OKLCHoklch(46.64% 0.197 288.7)
XYZxyz(15.1194, 8.8207, 49.6111)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C38BE #9ABE38
analogous
#3857BE #5C38BE #9F38BE
triadic
#5C38BE #BE5C38 #38BE5C
tetradic
#5C38BE #BE3857 #9ABE38 #38BE9F
square
#5C38BE #BE3857 #9ABE38 #38BE9F
split-complementary
#5C38BE #BE9F38 #57BE38
monochromatic
#2E1C5F #452A8F #5C38BE #8062D1 #A692DF

Accessibility & contrast

On white

7.60
#5C38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5C38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C38BE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C38BE#FFFFFF#000000##FFFFFF
##5C38BE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#385B77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c38be;
/* rgb */ color: rgb(92, 56, 190);
/* oklch */ color: oklch(46.6% 0.197 288.7);
Tailwind
colors: {
  custom: {
    50: '#9372d3',
    500: '#5c38be',
    950: '#000000',
  },
}
SCSS
$custom: #5c38be;
$custom-light: #9372d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c38be",
  "rgb": {
    "r": 92,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 256.119,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.19666,
    "h": 288.7
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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