#5B35AD#5B35AD

#5B35AD is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.180 H 292.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5B35AD
RGBrgb(91, 53, 173)
HSLhsl(259, 53%, 44%)
HSVhsv(259, 69%, 68%)
CMYKcmyk(47.4%, 69.4%, 0%, 32.2%)
CIE-LABlab(33.54, 44.95, -58.24)
CIE-LCHlch(33.54, 73.56, 307.66°)
OKLaboklab(44.67% 0.0675 -0.1668)
OKLCHoklch(44.67% 0.18 292)
XYZxyz(13.1282, 7.7870, 40.3384)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B35AD #87AD35
analogous
#354BAD #5B35AD #9735AD
triadic
#5B35AD #AD5B35 #35AD5B
tetradic
#5B35AD #AD354B #87AD35 #35AD97
square
#5B35AD #AD354B #87AD35 #35AD97
split-complementary
#5B35AD #AD9735 #4BAD35
monochromatic
#2A184F #42277E #5B35AD #7A54CB #9E83D9

Accessibility & contrast

On white

8.21
#5B35AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5B35AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B35AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B35AD#FFFFFF#000000##FFFFFF
##5B35AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#42536D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b35ad;
/* rgb */ color: rgb(91, 53, 173);
/* oklch */ color: oklch(44.7% 0.180 292.0);
Tailwind
colors: {
  custom: {
    50: '#916fc6',
    500: '#5b35ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b35ad;
$custom-light: #916fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b35ad",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 259,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.17998,
    "h": 292
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#5B35AD
secondary
#ACC37B
accent
#DD4BAF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5B35AD

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

Preview Lab → · Contrast checker → · Palette generator →

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