#5D35AE#5D35AE

#5D35AE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.181 H 292.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5D35AE
RGBrgb(93, 53, 174)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 70%, 68%)
CMYKcmyk(46.6%, 69.5%, 0%, 31.8%)
CIE-LABlab(33.83, 45.59, -58.34)
CIE-LCHlch(33.83, 74.04, 308.01°)
OKLaboklab(44.96% 0.0702 -0.1671)
OKLCHoklch(44.96% 0.181 292.8)
XYZxyz(13.4252, 7.9289, 40.8593)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35AE #86AE35
analogous
#3549AE #5D35AE #9A35AE
triadic
#5D35AE #AE5D35 #35AE5D
tetradic
#5D35AE #AE3549 #86AE35 #35AE9A
square
#5D35AE #AE3549 #86AE35 #35AE9A
split-complementary
#5D35AE #AE9A35 #49AE35
monochromatic
#2B1850 #44277F #5D35AE #7C55CB #A084DA

Accessibility & contrast

On white

8.12
#5D35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5D35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35AE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35AE#FFFFFF#000000##FFFFFF
##5D35AE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#45536D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d35ae;
/* rgb */ color: rgb(93, 53, 174);
/* oklch */ color: oklch(45.0% 0.181 292.8);
Tailwind
colors: {
  custom: {
    50: '#926fc7',
    500: '#5d35ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d35ae;
$custom-light: #926fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35ae",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 259.835,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.18122,
    "h": 292.8
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#5D35AE
secondary
#ABC37C
accent
#DD4BAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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