#5B35AF#5B35AF

#5B35AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.182 H 291.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5B35AF
RGBrgb(91, 53, 175)
HSLhsl(259, 54%, 45%)
HSVhsv(259, 70%, 69%)
CMYKcmyk(48%, 69.7%, 0%, 31.4%)
CIE-LABlab(33.70, 45.51, -59.16)
CIE-LCHlch(33.70, 74.64, 307.57°)
OKLaboklab(44.84% 0.0671 -0.1696)
OKLCHoklch(44.84% 0.182 291.6)
XYZxyz(13.3232, 7.8650, 41.3652)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B35AF #89AF35
analogous
#354CAF #5B35AF #9835AF
triadic
#5B35AF #AF5B35 #35AF5B
tetradic
#5B35AF #AF354C #89AF35 #35AF98
square
#5B35AF #AF354C #89AF35 #35AF98
split-complementary
#5B35AF #AF9835 #4CAF35
monochromatic
#2A1951 #432780 #5B35AF #7A56CC #9F85DA

Accessibility & contrast

On white

8.16
#5B35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5B35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B35AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B35AF#FFFFFF#000000##FFFFFF
##5B35AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#40546E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b35af;
/* rgb */ color: rgb(91, 53, 175);
/* oklch */ color: oklch(44.8% 0.182 291.6);
Tailwind
colors: {
  custom: {
    50: '#916fc8',
    500: '#5b35af',
    950: '#000000',
  },
}
SCSS
$custom: #5b35af;
$custom-light: #916fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b35af",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 258.689,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.18237,
    "h": 291.6
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#5B35AF
secondary
#ADC47C
accent
#DD4BAF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5B35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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