#5336BA#5336BA

#5336BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.195 H 285.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5336BA
RGBrgb(83, 54, 186)
HSLhsl(253, 55%, 47%)
HSVhsv(253, 71%, 73%)
CMYKcmyk(55.4%, 71%, 0%, 27.1%)
CIE-LABlab(34.03, 46.82, -65.18)
CIE-LCHlch(34.03, 80.25, 305.69°)
OKLaboklab(45.18% 0.0526 -0.1875)
OKLCHoklch(45.18% 0.195 285.7)
XYZxyz(13.7467, 8.0217, 47.2688)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336BA #9DBA36
analogous
#365BBA #5336BA #9536BA
triadic
#5336BA #BA5336 #36BA53
tetradic
#5336BA #BA365B #9DBA36 #36BA95
square
#5336BA #BA365B #9DBA36 #36BA95
split-complementary
#5336BA #BA9536 #5BBA36
monochromatic
#291A5B #3E288B #5336BA #765DD0 #9E8DDE

Accessibility & contrast

On white

8.06
#5336BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5336BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5336BA#FFFFFF#000000##FFFFFF
##5336BA1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#245974
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5336ba;
/* rgb */ color: rgb(83, 54, 186);
/* oklch */ color: oklch(45.2% 0.195 285.7);
Tailwind
colors: {
  custom: {
    50: '#8e70d0',
    500: '#5336ba',
    950: '#000000',
  },
}
SCSS
$custom: #5336ba;
$custom-light: #8e70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5336ba",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 253.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.19476,
    "h": 285.7
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#5336BA
secondary
#B9C884
accent
#DE49BE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5336BA

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

Preview Lab → · Contrast checker → · Palette generator →

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