#5C34BE#5C34BE

#5C34BE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.201 H 289.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5C34BE
RGBrgb(92, 52, 190)
HSLhsl(257, 57%, 47%)
HSVhsv(257, 73%, 75%)
CMYKcmyk(51.6%, 72.6%, 0%, 25.5%)
CIE-LABlab(34.90, 50.40, -66.08)
CIE-LCHlch(34.90, 83.11, 307.34°)
OKLaboklab(46.11% 0.0665 -0.1898)
OKLCHoklch(46.11% 0.201 289.3)
XYZxyz(14.9332, 8.4483, 49.5491)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34BE #96BE34
analogous
#3451BE #5C34BE #A134BE
triadic
#5C34BE #BE5C34 #34BE5C
tetradic
#5C34BE #BE3451 #96BE34 #34BEA1
square
#5C34BE #BE3451 #96BE34 #34BEA1
split-complementary
#5C34BE #BEA134 #51BE34
monochromatic
#2D1A5E #45278E #5C34BE #7F5DD3 #A58DE0

Accessibility & contrast

On white

7.81
#5C34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5C34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34BE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34BE#FFFFFF#000000##FFFFFF
##5C34BE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#385976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c34be;
/* rgb */ color: rgb(92, 52, 190);
/* oklch */ color: oklch(46.1% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5c34be',
    950: '#000000',
  },
}
SCSS
$custom: #5c34be;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34be",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 257.391,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.20112,
    "h": 289.3
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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