#5D34BF#5D34BF

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

Color values

HEX#5D34BF
RGBrgb(93, 52, 191)
HSLhsl(258, 57%, 48%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(51.3%, 72.8%, 0%, 25.1%)
CIE-LABlab(35.09, 50.84, -66.35)
CIE-LCHlch(35.09, 83.59, 307.46°)
OKLaboklab(46.3% 0.0677 -0.1906)
OKLCHoklch(46.3% 0.202 289.6)
XYZxyz(15.1434, 8.5441, 50.1314)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D34BF #96BF34
analogous
#3450BF #5D34BF #A334BF
triadic
#5D34BF #BF5D34 #34BF5D
tetradic
#5D34BF #BF3450 #96BF34 #34BFA3
square
#5D34BF #BF3450 #96BF34 #34BFA3
split-complementary
#5D34BF #BFA334 #50BF34
monochromatic
#2E1A5F #46278F #5D34BF #805DD3 #A68DE0

Accessibility & contrast

On white

7.75
#5D34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D34BF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D34BF#FFFFFF#000000##FFFFFF
##5D34BF1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3A5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d34bf;
/* rgb */ color: rgb(93, 52, 191);
/* oklch */ color: oklch(46.3% 0.202 289.6);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5d34bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d34bf;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d34bf",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 257.698,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.20225,
    "h": 289.6
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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