#5C34CA#5C34CA

#5C34CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.215 H 287.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5C34CA
RGBrgb(92, 52, 202)
HSLhsl(256, 59%, 50%)
HSVhsv(256, 74%, 79%)
CMYKcmyk(54.5%, 74.3%, 0%, 20.8%)
CIE-LABlab(35.97, 53.76, -71.34)
CIE-LCHlch(35.97, 89.33, 307.00°)
OKLaboklab(47.2% 0.0636 -0.2052)
OKLCHoklch(47.2% 0.215 287.2)
XYZxyz(16.2991, 8.9947, 56.7430)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34CA #A2CA34
analogous
#3457CA #5C34CA #A734CA
triadic
#5C34CA #CA5C34 #34CA5C
tetradic
#5C34CA #CA3457 #A2CA34 #34CAA7
square
#5C34CA #CA3457 #A2CA34 #34CAA7
split-complementary
#5C34CA #CAA734 #57CA34
monochromatic
#301B69 #462799 #5C34CA #8364D7 #AA95E4

Accessibility & contrast

On white

7.50
#5C34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5C34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34CA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34CA#FFFFFF#000000##FFFFFF
##5C34CA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#2D5E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c34ca;
/* rgb */ color: rgb(92, 52, 202);
/* oklch */ color: oklch(47.2% 0.215 287.2);
Tailwind
colors: {
  custom: {
    50: '#9570db',
    500: '#5c34ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c34ca;
$custom-light: #9570db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34ca",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 256,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.472,
    "c": 0.21487,
    "h": 287.2
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#5C34CA
secondary
#BDCF8B
accent
#E246B8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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