#5B35AE#5B35AE

#5B35AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.181 H 291.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5B35AE
RGBrgb(91, 53, 174)
HSLhsl(259, 53%, 45%)
HSVhsv(259, 70%, 68%)
CMYKcmyk(47.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(33.62, 45.23, -58.70)
CIE-LCHlch(33.62, 74.10, 307.61°)
OKLaboklab(44.76% 0.0673 -0.1682)
OKLCHoklch(44.76% 0.181 291.8)
XYZxyz(13.2253, 7.8259, 40.8499)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B35AE #88AE35
analogous
#354CAE #5B35AE #9835AE
triadic
#5B35AE #AE5B35 #35AE5B
tetradic
#5B35AE #AE354C #88AE35 #35AE98
square
#5B35AE #AE354C #88AE35 #35AE98
split-complementary
#5B35AE #AE9835 #4CAE35
monochromatic
#2A1850 #42277F #5B35AE #7A55CB #9F84DA

Accessibility & contrast

On white

8.19
#5B35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B35AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B35AE#FFFFFF#000000##FFFFFF
##5B35AE1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#41536D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b35ae;
/* rgb */ color: rgb(91, 53, 174);
/* oklch */ color: oklch(44.8% 0.181 291.8);
Tailwind
colors: {
  custom: {
    50: '#916fc7',
    500: '#5b35ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b35ae;
$custom-light: #916fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b35ae",
  "rgb": {
    "r": 91,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 258.843,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.18117,
    "h": 291.8
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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