#5336AC#5336AC

#5336AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.178 H 288.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5336AC
RGBrgb(83, 54, 172)
HSLhsl(255, 52%, 44%)
HSVhsv(255, 69%, 67%)
CMYKcmyk(51.7%, 68.6%, 0%, 32.5%)
CIE-LABlab(32.82, 42.68, -58.84)
CIE-LCHlch(32.82, 72.69, 305.95°)
OKLaboklab(43.94% 0.0552 -0.1689)
OKLCHoklch(43.94% 0.178 288.1)
XYZxyz(12.3307, 7.4553, 39.8110)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336AC #8FAC36
analogous
#3654AC #5336AC #8E36AC
triadic
#5336AC #AC5336 #36AC53
tetradic
#5336AC #AC3654 #8FAC36 #36AC8E
square
#5336AC #AC3654 #8FAC36 #36AC8E
split-complementary
#5336AC #AC8E36 #54AC36
monochromatic
#26194F #3D277D #5336AC #7255CA #9984D8

Accessibility & contrast

On white

8.43
#5336AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5336AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5336AC#FFFFFF#000000##FFFFFF
##5336AC1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#32546C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5336ac;
/* rgb */ color: rgb(83, 54, 172);
/* oklch */ color: oklch(43.9% 0.178 288.1);
Tailwind
colors: {
  custom: {
    50: '#8c6fc6',
    500: '#5336ac',
    950: '#000000',
  },
}
SCSS
$custom: #5336ac;
$custom-light: #8c6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5336ac",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 254.746,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.17767,
    "h": 288.1
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#5336AC
secondary
#B1C27C
accent
#DC4CB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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