#5C38DA#5C38DA

#5C38DA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.229 H 284.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5C38DA
RGBrgb(92, 56, 218)
HSLhsl(253, 69%, 54%)
HSVhsv(253, 74%, 85%)
CMYKcmyk(57.8%, 74.3%, 0%, 14.5%)
CIE-LABlab(38.14, 56.31, -77.03)
CIE-LCHlch(38.14, 95.42, 306.17°)
OKLaboklab(49.17% 0.0568 -0.2219)
OKLCHoklch(49.17% 0.229 284.4)
XYZxyz(18.4788, 10.1645, 67.3043)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C38DA #B6DA38
analogous
#3865DA #5C38DA #AD38DA
triadic
#5C38DA #DA5C38 #38DA5C
tetradic
#5C38DA #DA3865 #B6DA38 #38DAAD
square
#5C38DA #DA3865 #B6DA38 #38DAAD
split-complementary
#5C38DA #DAAD38 #65DA38
monochromatic
#2F1880 #4221B3 #5C38DA #866CE4 #B19FED

Accessibility & contrast

On white

6.92
#5C38DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C38DA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C38DA#FFFFFF#000000##FFFFFF
##5C38DA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#126687
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c38da;
/* rgb */ color: rgb(92, 56, 218);
/* oklch */ color: oklch(49.2% 0.229 284.4);
Tailwind
colors: {
  custom: {
    50: '#9873e7',
    500: '#5c38da',
    950: '#000000',
  },
}
SCSS
$custom: #5c38da;
$custom-light: #9873e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c38da",
  "rgb": {
    "r": 92,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 253.333,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.22908,
    "h": 284.4
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#5C38DA
secondary
#CADA94
accent
#EB3CC5
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C38DA

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

Preview Lab → · Contrast checker → · Palette generator →

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