#5D35C3#5D35C3

#5D35C3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.206 H 288.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5D35C3
RGBrgb(93, 53, 195)
HSLhsl(257, 57%, 49%)
HSVhsv(257, 73%, 76%)
CMYKcmyk(52.3%, 72.8%, 0%, 23.5%)
CIE-LABlab(35.62, 51.45, -67.82)
CIE-LCHlch(35.62, 85.13, 307.19°)
OKLaboklab(46.78% 0.066 -0.1949)
OKLCHoklch(46.78% 0.206 288.7)
XYZxyz(15.6348, 8.8128, 52.4964)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35C3 #9BC335
analogous
#3554C3 #5D35C3 #A435C3
triadic
#5D35C3 #C35D35 #35C35D
tetradic
#5D35C3 #C33554 #9BC335 #35C3A4
square
#5D35C3 #C33554 #9BC335 #35C3A4
split-complementary
#5D35C3 #C3A435 #54C335
monochromatic
#2F1B63 #462893 #5D35C3 #8161D4 #A891E1

Accessibility & contrast

On white

7.60
#5D35C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D35C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35C3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35C3#FFFFFF#000000##FFFFFF
##5D35C31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#365B79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d35c3;
/* rgb */ color: rgb(93, 53, 195);
/* oklch */ color: oklch(46.8% 0.206 288.7);
Tailwind
colors: {
  custom: {
    50: '#9570d6',
    500: '#5d35c3',
    950: '#000000',
  },
}
SCSS
$custom: #5d35c3;
$custom-light: #9570d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35c3",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 256.901,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.20578,
    "h": 288.7
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#5D35C3
secondary
#B9CC88
accent
#E147B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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