#5D35C0#5D35C0

#5D35C0 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.202 H 289.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5D35C0
RGBrgb(93, 53, 192)
HSLhsl(257, 57%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.6%, 72.4%, 0%, 24.7%)
CIE-LABlab(35.36, 50.62, -66.50)
CIE-LCHlch(35.36, 83.57, 307.28°)
OKLaboklab(46.52% 0.0666 -0.191)
OKLCHoklch(46.52% 0.202 289.2)
XYZxyz(15.2990, 8.6784, 50.7279)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35C0 #98C035
analogous
#3552C0 #5D35C0 #A235C0
triadic
#5D35C0 #C05D35 #35C05D
tetradic
#5D35C0 #C03552 #98C035 #35C0A2
square
#5D35C0 #C03552 #98C035 #35C0A2
split-complementary
#5D35C0 #C0A235 #52C035
monochromatic
#2F1B60 #462890 #5D35C0 #815FD3 #A78FE0

Accessibility & contrast

On white

7.68
#5D35C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D35C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35C0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35C0#FFFFFF#000000##FFFFFF
##5D35C01.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d35c0;
/* rgb */ color: rgb(93, 53, 192);
/* oklch */ color: oklch(46.5% 0.202 289.2);
Tailwind
colors: {
  custom: {
    50: '#9470d4',
    500: '#5d35c0',
    950: '#000000',
  },
}
SCSS
$custom: #5d35c0;
$custom-light: #9470d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35c0",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 257.266,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.20232,
    "h": 289.2
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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