#5C34CD#5C34CD

#5C34CD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.218 H 286.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5C34CD
RGBrgb(92, 52, 205)
HSLhsl(256, 60%, 50%)
HSVhsv(256, 75%, 80%)
CMYKcmyk(55.1%, 74.6%, 0%, 19.6%)
CIE-LABlab(36.25, 54.60, -72.63)
CIE-LCHlch(36.25, 90.86, 306.93°)
OKLaboklab(47.48% 0.0629 -0.209)
OKLCHoklch(47.48% 0.218 286.7)
XYZxyz(16.6578, 9.1382, 58.6319)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34CD #A5CD34
analogous
#3459CD #5C34CD #A834CD
triadic
#5C34CD #CD5C34 #34CD5C
tetradic
#5C34CD #CD3459 #A5CD34 #34CDA8
square
#5C34CD #CD3459 #A5CD34 #34CDA8
split-complementary
#5C34CD #CDA834 #59CD34
monochromatic
#301B6C #46279D #5C34CD #8365D9 #AB96E5

Accessibility & contrast

On white

7.43
#5C34CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C34CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34CD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34CD#FFFFFF#000000##FFFFFF
##5C34CD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#295F7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c34cd;
/* rgb */ color: rgb(92, 52, 205);
/* oklch */ color: oklch(47.5% 0.218 286.7);
Tailwind
colors: {
  custom: {
    50: '#9670dd',
    500: '#5c34cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c34cd;
$custom-light: #9670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34cd",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 255.686,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.21827,
    "h": 286.7
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#5C34CD
secondary
#BFD18C
accent
#E444BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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