#5D35BC#5D35BC

#5D35BC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.198 H 290.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5D35BC
RGBrgb(93, 53, 188)
HSLhsl(258, 56%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(50.5%, 71.8%, 0%, 26.3%)
CIE-LABlab(35.01, 49.50, -64.71)
CIE-LCHlch(35.01, 81.47, 307.41°)
OKLaboklab(46.16% 0.0675 -0.1858)
OKLCHoklch(46.16% 0.198 290)
XYZxyz(14.8618, 8.5036, 48.4255)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35BC #94BC35
analogous
#3550BC #5D35BC #A135BC
triadic
#5D35BC #BC5D35 #35BC5D
tetradic
#5D35BC #BC3550 #94BC35 #35BCA1
square
#5D35BC #BC3550 #94BC35 #35BCA1
split-complementary
#5D35BC #BCA135 #50BC35
monochromatic
#2E1A5D #45288C #5D35BC #7F5DD1 #A58DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D35BC#FFFFFF#000000##FFFFFF
##5D35BC1.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)
#0055C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#3C5975
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d35bc;
/* rgb */ color: rgb(93, 53, 188);
/* oklch */ color: oklch(46.2% 0.198 290.0);
Tailwind
colors: {
  custom: {
    50: '#9470d1',
    500: '#5d35bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d35bc;
$custom-light: #9470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35bc",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 257.778,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.19768,
    "h": 290
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#5D35BC
secondary
#B5C984
accent
#DF48B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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