#5B35AA#5B35AA

#5B35AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.176 H 292.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5B35AA
RGBrgb(91, 53, 170)
HSLhsl(259, 52%, 44%)
HSVhsv(259, 69%, 67%)
CMYKcmyk(46.5%, 68.8%, 0%, 33.3%)
CIE-LABlab(33.29, 44.10, -56.84)
CIE-LCHlch(33.29, 71.94, 307.81°)
OKLaboklab(44.42% 0.068 -0.1627)
OKLCHoklch(44.42% 0.176 292.7)
XYZxyz(12.8412, 7.6722, 38.8267)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B35AA #84AA35
analogous
#3549AA #5B35AA #9535AA
triadic
#5B35AA #AA5B35 #35AA5B
tetradic
#5B35AA #AA3549 #84AA35 #35AA95
square
#5B35AA #AA3549 #84AA35 #35AA95
split-complementary
#5B35AA #AA9535 #49AA35
monochromatic
#29184D #42267B #5B35AA #7953C9 #9E82D8

Accessibility & contrast

On white

8.29
#5B35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5B35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B35AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B35AA#FFFFFF#000000##FFFFFF
##5B35AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#43526B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b35aa;
/* rgb */ color: rgb(91, 53, 170);
/* oklch */ color: oklch(44.4% 0.176 292.7);
Tailwind
colors: {
  custom: {
    50: '#906fc4',
    500: '#5b35aa',
    950: '#000000',
  },
}
SCSS
$custom: #5b35aa;
$custom-light: #906fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b35aa",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 259.487,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.17637,
    "h": 292.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#5B35AA
secondary
#AAC17A
accent
#DC4CAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5B35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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