#5D36AF#5D36AF

#5D36AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.181 H 292.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5D36AF
RGBrgb(93, 54, 175)
HSLhsl(259, 53%, 45%)
HSVhsv(259, 69%, 69%)
CMYKcmyk(46.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(34.11, 45.34, -58.49)
CIE-LCHlch(34.11, 74.00, 307.78°)
OKLaboklab(45.18% 0.069 -0.1675)
OKLCHoklch(45.18% 0.181 292.4)
XYZxyz(13.5691, 8.0602, 41.3900)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36AF #88AF36
analogous
#364CAF #5D36AF #9A36AF
triadic
#5D36AF #AF5D36 #36AF5D
tetradic
#5D36AF #AF364C #88AF36 #36AF9A
square
#5D36AF #AF364C #88AF36 #36AF9A
split-complementary
#5D36AF #AF9A36 #4CAF36
monochromatic
#2B1951 #442880 #5D36AF #7C57CB #A186DA

Accessibility & contrast

On white

8.04
#5D36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5D36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36AF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36AF#FFFFFF#000000##FFFFFF
##5D36AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#44546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d36af;
/* rgb */ color: rgb(93, 54, 175);
/* oklch */ color: oklch(45.2% 0.181 292.4);
Tailwind
colors: {
  custom: {
    50: '#9270c8',
    500: '#5d36af',
    950: '#000000',
  },
}
SCSS
$custom: #5d36af;
$custom-light: #9270c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36af",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 259.339,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.18119,
    "h": 292.4
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#5D36AF
secondary
#ADC37D
accent
#DC4CAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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