#5D35BF#5D35BF

#5D35BF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.201 H 289.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5D35BF
RGBrgb(93, 53, 191)
HSLhsl(257, 57%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.3%, 72.3%, 0%, 25.1%)
CIE-LABlab(35.27, 50.34, -66.05)
CIE-LCHlch(35.27, 83.05, 307.31°)
OKLaboklab(46.43% 0.0669 -0.1897)
OKLCHoklch(46.43% 0.201 289.4)
XYZxyz(15.1886, 8.6343, 50.1464)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35BF #97BF35
analogous
#3552BF #5D35BF #A235BF
triadic
#5D35BF #BF5D35 #35BF5D
tetradic
#5D35BF #BF3552 #97BF35 #35BFA2
square
#5D35BF #BF3552 #97BF35 #35BFA2
split-complementary
#5D35BF #BFA235 #52BF35
monochromatic
#2E1A5F #46288F #5D35BF #805FD3 #A68FE0

Accessibility & contrast

On white

7.70
#5D35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5D35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35BF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35BF#FFFFFF#000000##FFFFFF
##5D35BF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#395A77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d35bf;
/* rgb */ color: rgb(93, 53, 191);
/* oklch */ color: oklch(46.4% 0.201 289.4);
Tailwind
colors: {
  custom: {
    50: '#9470d3',
    500: '#5d35bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d35bf;
$custom-light: #9470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35bf",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 257.391,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.20116,
    "h": 289.4
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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