#5336AE#5336AE

#5336AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.180 H 287.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5336AE
RGBrgb(83, 54, 174)
HSLhsl(255, 53%, 45%)
HSVhsv(255, 69%, 68%)
CMYKcmyk(52.3%, 69%, 0%, 31.8%)
CIE-LABlab(32.99, 43.27, -59.76)
CIE-LCHlch(32.99, 73.78, 305.91°)
OKLaboklab(44.11% 0.0548 -0.1716)
OKLCHoklch(44.11% 0.18 287.7)
XYZxyz(12.5242, 7.5327, 40.8302)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336AE #91AE36
analogous
#3655AE #5336AE #8F36AE
triadic
#5336AE #AE5336 #36AE53
tetradic
#5336AE #AE3655 #91AE36 #36AE8F
square
#5336AE #AE3655 #91AE36 #36AE8F
split-complementary
#5336AE #AE8F36 #55AE36
monochromatic
#261951 #3D287F #5336AE #7356CB #9A85D9

Accessibility & contrast

On white

8.38
#5336AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5336AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336AE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336AE#FFFFFF#000000##FFFFFF
##5336AE1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#30556E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5336ae;
/* rgb */ color: rgb(83, 54, 174);
/* oklch */ color: oklch(44.1% 0.180 287.7);
Tailwind
colors: {
  custom: {
    50: '#8c6fc7',
    500: '#5336ae',
    950: '#000000',
  },
}
SCSS
$custom: #5336ae;
$custom-light: #8c6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5336ae",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 254.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.18013,
    "h": 287.7
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#5336AE
secondary
#B2C37D
accent
#DC4CB9
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5336AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5336AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva