#5D35BE#5D35BE

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

Color values

HEX#5D35BE
RGBrgb(93, 53, 190)
HSLhsl(258, 56%, 48%)
HSVhsv(258, 72%, 75%)
CMYKcmyk(51.1%, 72.1%, 0%, 25.5%)
CIE-LABlab(35.18, 50.06, -65.61)
CIE-LCHlch(35.18, 82.52, 307.34°)
OKLaboklab(46.34% 0.0671 -0.1884)
OKLCHoklch(46.34% 0.2 289.6)
XYZxyz(15.0789, 8.5904, 49.5688)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35BE #96BE35
analogous
#3552BE #5D35BE #A135BE
triadic
#5D35BE #BE5D35 #35BE5D
tetradic
#5D35BE #BE3552 #96BE35 #35BEA1
square
#5D35BE #BE3552 #96BE35 #35BEA1
split-complementary
#5D35BE #BEA135 #52BE35
monochromatic
#2E1A5E #46288E #5D35BE #805ED2 #A68EDF

Accessibility & contrast

On white

7.73
#5D35BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5D35BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35BE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35BE#FFFFFF#000000##FFFFFF
##5D35BE1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d35be;
/* rgb */ color: rgb(93, 53, 190);
/* oklch */ color: oklch(46.3% 0.200 289.6);
Tailwind
colors: {
  custom: {
    50: '#9470d3',
    500: '#5d35be',
    950: '#000000',
  },
}
SCSS
$custom: #5d35be;
$custom-light: #9470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35be",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 257.518,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.2,
    "h": 289.6
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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