#5D36AB#5D36AB

#5D36AB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.176 H 293.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5D36AB
RGBrgb(93, 54, 171)
HSLhsl(260, 52%, 44%)
HSVhsv(260, 68%, 67%)
CMYKcmyk(45.6%, 68.4%, 0%, 32.9%)
CIE-LABlab(33.79, 44.22, -56.63)
CIE-LCHlch(33.79, 71.85, 307.99°)
OKLaboklab(44.85% 0.0697 -0.162)
OKLCHoklch(44.85% 0.176 293.3)
XYZxyz(13.1820, 7.9054, 39.3515)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36AB #84AB36
analogous
#364AAB #5D36AB #9836AB
triadic
#5D36AB #AB5D36 #36AB5D
tetradic
#5D36AB #AB364A #84AB36 #36AB98
square
#5D36AB #AB364A #84AB36 #36AB98
split-complementary
#5D36AB #AB9836 #4AAB36
monochromatic
#2A194E #44277C #5D36AB #7C55C9 #A083D8

Accessibility & contrast

On white

8.14
#5D36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5D36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36AB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36AB#FFFFFF#000000##FFFFFF
##5D36AB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#46536C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d36ab;
/* rgb */ color: rgb(93, 54, 171);
/* oklch */ color: oklch(44.9% 0.176 293.3);
Tailwind
colors: {
  custom: {
    50: '#9270c5',
    500: '#5d36ab',
    950: '#000000',
  },
}
SCSS
$custom: #5d36ab;
$custom-light: #9270c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36ab",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.1764,
    "h": 293.3
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#5D36AB
secondary
#AAC27B
accent
#DB4CAC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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