#5C34BF#5C34BF

#5C34BF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.202 H 289.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5C34BF
RGBrgb(92, 52, 191)
HSLhsl(257, 57%, 48%)
HSVhsv(257, 73%, 75%)
CMYKcmyk(51.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.99, 50.68, -66.52)
CIE-LCHlch(34.99, 83.63, 307.31°)
OKLaboklab(46.2% 0.0662 -0.1911)
OKLCHoklch(46.2% 0.202 289.1)
XYZxyz(15.0429, 8.4922, 50.1266)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C34BF #97BF34
analogous
#3452BF #5C34BF #A134BF
triadic
#5C34BF #BF5C34 #34BF5C
tetradic
#5C34BF #BF3452 #97BF34 #34BFA1
square
#5C34BF #BF3452 #97BF34 #34BFA1
split-complementary
#5C34BF #BFA134 #52BF34
monochromatic
#2E1A5F #45278F #5C34BF #7F5DD3 #A58DE0

Accessibility & contrast

On white

7.78
#5C34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5C34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C34BF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C34BF#FFFFFF#000000##FFFFFF
##5C34BF1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#375976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c34bf;
/* rgb */ color: rgb(92, 52, 191);
/* oklch */ color: oklch(46.2% 0.202 289.1);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5c34bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c34bf;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c34bf",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 257.266,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.20228,
    "h": 289.1
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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