#5D35BD#5D35BD

#5D35BD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.199 H 289.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5D35BD
RGBrgb(93, 53, 189)
HSLhsl(258, 56%, 47%)
HSVhsv(258, 72%, 74%)
CMYKcmyk(50.8%, 72%, 0%, 25.9%)
CIE-LABlab(35.10, 49.78, -65.16)
CIE-LCHlch(35.10, 82.00, 307.38°)
OKLaboklab(46.25% 0.0673 -0.1871)
OKLCHoklch(46.25% 0.199 289.8)
XYZxyz(14.9700, 8.5468, 48.9952)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35BD #95BD35
analogous
#3551BD #5D35BD #A135BD
triadic
#5D35BD #BD5D35 #35BD5D
tetradic
#5D35BD #BD3551 #95BD35 #35BDA1
square
#5D35BD #BD3551 #95BD35 #35BDA1
split-complementary
#5D35BD #BDA135 #51BD35
monochromatic
#2E1A5D #45288D #5D35BD #805DD2 #A58DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D35BD#FFFFFF#000000##FFFFFF
##5D35BD1.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)
#0055C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#3B5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d35bd;
/* rgb */ color: rgb(93, 53, 189);
/* oklch */ color: oklch(46.3% 0.199 289.8);
Tailwind
colors: {
  custom: {
    50: '#9470d2',
    500: '#5d35bd',
    950: '#000000',
  },
}
SCSS
$custom: #5d35bd;
$custom-light: #9470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35bd",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 257.647,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.19884,
    "h": 289.8
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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