#5C39CA#5C39CA

#5C39CA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.210 H 286.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5C39CA
RGBrgb(92, 57, 202)
HSLhsl(254, 58%, 51%)
HSVhsv(254, 72%, 79%)
CMYKcmyk(54.5%, 71.8%, 0%, 20.8%)
CIE-LABlab(36.86, 51.25, -69.87)
CIE-LCHlch(36.86, 86.66, 306.26°)
OKLaboklab(47.83% 0.0597 -0.201)
OKLCHoklch(47.83% 0.21 286.6)
XYZxyz(16.5342, 9.4649, 56.8213)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39CA #A7CA39
analogous
#395ECA #5C39CA #A539CA
triadic
#5C39CA #CA5C39 #39CA5C
tetradic
#5C39CA #CA395E #A7CA39 #39CAA5
square
#5C39CA #CA395E #A7CA39 #39CAA5
split-complementary
#5C39CA #CAA539 #5ECA39
monochromatic
#301D6C #452A9C #5C39CA #8469D7 #AB9AE4

Accessibility & contrast

On white

7.26
#5C39CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5C39CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39CA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39CA#FFFFFF#000000##FFFFFF
##5C39CA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#2C607E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c39ca;
/* rgb */ color: rgb(92, 57, 202);
/* oklch */ color: oklch(47.8% 0.210 286.6);
Tailwind
colors: {
  custom: {
    50: '#9573db',
    500: '#5c39ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c39ca;
$custom-light: #9573db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39ca",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 254.483,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.20967,
    "h": 286.6
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#5C39CA
secondary
#C0D08F
accent
#E147BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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