#5C35BF#5C35BF

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

Color values

HEX#5C35BF
RGBrgb(92, 53, 191)
HSLhsl(257, 57%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.8%, 72.3%, 0%, 25.1%)
CIE-LABlab(35.17, 50.18, -66.23)
CIE-LCHlch(35.17, 83.09, 307.15°)
OKLaboklab(46.33% 0.0654 -0.1903)
OKLCHoklch(46.33% 0.201 289)
XYZxyz(15.0880, 8.5824, 50.1417)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35BF #98BF35
analogous
#3553BF #5C35BF #A135BF
triadic
#5C35BF #BF5C35 #35BF5C
tetradic
#5C35BF #BF3553 #98BF35 #35BFA1
square
#5C35BF #BF3553 #98BF35 #35BFA1
split-complementary
#5C35BF #BFA135 #53BF35
monochromatic
#2E1A5F #45288F #5C35BF #7F5FD3 #A68FE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C35BF#FFFFFF#000000##FFFFFF
##5C35BF1.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)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#375A77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c35bf;
/* rgb */ color: rgb(92, 53, 191);
/* oklch */ color: oklch(46.3% 0.201 289.0);
Tailwind
colors: {
  custom: {
    50: '#9470d3',
    500: '#5c35bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c35bf;
$custom-light: #9470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35bf",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 256.957,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.2012,
    "h": 289
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#5C35BF
secondary
#B7CA85
accent
#E048B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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