#5C34BD#5C34BD

#5C34BD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.200 H 289.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5C34BD
RGBrgb(92, 52, 189)
HSLhsl(258, 57%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(51.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(34.81, 50.12, -65.63)
CIE-LCHlch(34.81, 82.58, 307.37°)
OKLaboklab(46.03% 0.0667 -0.1885)
OKLCHoklch(46.03% 0.2 289.5)
XYZxyz(14.8243, 8.4048, 48.9754)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34BD #95BD34
analogous
#3451BD #5C34BD #A034BD
triadic
#5C34BD #BD5C34 #34BD5C
tetradic
#5C34BD #BD3451 #95BD34 #34BDA0
square
#5C34BD #BD3451 #95BD34 #34BDA0
split-complementary
#5C34BD #BDA034 #51BD34
monochromatic
#2D1A5D #45278D #5C34BD #7F5CD2 #A48CDF

Accessibility & contrast

On white

7.83
#5C34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5C34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34BD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34BD#FFFFFF#000000##FFFFFF
##5C34BD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#395875
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c34bd;
/* rgb */ color: rgb(92, 52, 189);
/* oklch */ color: oklch(46.0% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#946fd2',
    500: '#5c34bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c34bd;
$custom-light: #946fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34bd",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 257.518,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.19997,
    "h": 289.5
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#5C34BD
secondary
#B5CA83
accent
#E048B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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