#5C34CC#5C34CC

#5C34CC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.217 H 286.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5C34CC
RGBrgb(92, 52, 204)
HSLhsl(256, 60%, 50%)
HSVhsv(256, 75%, 80%)
CMYKcmyk(54.9%, 74.5%, 0%, 20%)
CIE-LABlab(36.16, 54.32, -72.20)
CIE-LCHlch(36.16, 90.35, 306.96°)
OKLaboklab(47.39% 0.0631 -0.2078)
OKLCHoklch(47.39% 0.217 286.9)
XYZxyz(16.5375, 9.0900, 57.9982)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34CC #A4CC34
analogous
#3458CC #5C34CC #A834CC
triadic
#5C34CC #CC5C34 #34CC5C
tetradic
#5C34CC #CC3458 #A4CC34 #34CCA8
square
#5C34CC #CC3458 #A4CC34 #34CCA8
split-complementary
#5C34CC #CCA834 #58CC34
monochromatic
#301B6B #46279C #5C34CC #8365D8 #AB96E5

Accessibility & contrast

On white

7.45
#5C34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34CC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34CC#FFFFFF#000000##FFFFFF
##5C34CC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#2B5E7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c34cc;
/* rgb */ color: rgb(92, 52, 204);
/* oklch */ color: oklch(47.4% 0.217 286.9);
Tailwind
colors: {
  custom: {
    50: '#9670dd',
    500: '#5c34cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c34cc;
$custom-light: #9670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34cc",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 255.789,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.21714,
    "h": 286.9
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#5C34CC
secondary
#BED08C
accent
#E345B9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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