#5336AA#5336AA

#5336AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.175 H 288.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5336AA
RGBrgb(83, 54, 170)
HSLhsl(255, 52%, 44%)
HSVhsv(255, 68%, 67%)
CMYKcmyk(51.2%, 68.2%, 0%, 33.3%)
CIE-LABlab(32.65, 42.09, -57.91)
CIE-LCHlch(32.65, 71.59, 306.01°)
OKLaboklab(43.77% 0.0555 -0.1662)
OKLCHoklch(43.77% 0.175 288.5)
XYZxyz(12.1400, 7.3791, 38.8070)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336AA #8DAA36
analogous
#3653AA #5336AA #8D36AA
triadic
#5336AA #AA5336 #36AA53
tetradic
#5336AA #AA3653 #8DAA36 #36AA8D
square
#5336AA #AA3653 #8DAA36 #36AA8D
split-complementary
#5336AA #AA8D36 #53AA36
monochromatic
#26184D #3C277C #5336AA #7154C9 #9883D8

Accessibility & contrast

On white

8.48
#5336AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5336AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5336AA#FFFFFF#000000##FFFFFF
##5336AA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#34536B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5336aa;
/* rgb */ color: rgb(83, 54, 170);
/* oklch */ color: oklch(43.8% 0.175 288.5);
Tailwind
colors: {
  custom: {
    50: '#8b6fc4',
    500: '#5336aa',
    950: '#000000',
  },
}
SCSS
$custom: #5336aa;
$custom-light: #8b6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5336aa",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 255,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43769,
    "c": 0.17519,
    "h": 288.5
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#5336AA
secondary
#B0C17B
accent
#DB4DB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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