#5336BF#5336BF

#5336BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.201 H 284.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5336BF
RGBrgb(83, 54, 191)
HSLhsl(253, 56%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.5%, 71.7%, 0%, 25.1%)
CIE-LABlab(34.47, 48.29, -67.40)
CIE-LCHlch(34.47, 82.91, 305.62°)
OKLaboklab(45.63% 0.0516 -0.194)
OKLCHoklch(45.63% 0.201 284.9)
XYZxyz(14.2876, 8.2381, 50.1174)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336BF #A2BF36
analogous
#365DBF #5336BF #9736BF
triadic
#5336BF #BF5336 #36BF53
tetradic
#5336BF #BF365D #A2BF36 #36BF97
square
#5336BF #BF365D #A2BF36 #36BF97
split-complementary
#5336BF #BF9736 #5DBF36
monochromatic
#2A1B60 #3E298F #5336BF #7860D2 #A190E0

Accessibility & contrast

On white

7.93
#5336BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5336BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5336BF#FFFFFF#000000##FFFFFF
##5336BF1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#1D5B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5336bf;
/* rgb */ color: rgb(83, 54, 191);
/* oklch */ color: oklch(45.6% 0.201 284.9);
Tailwind
colors: {
  custom: {
    50: '#8f70d3',
    500: '#5336bf',
    950: '#000000',
  },
}
SCSS
$custom: #5336bf;
$custom-light: #8f70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5336bf",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 252.701,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.20074,
    "h": 284.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#5336BF
secondary
#BCCA87
accent
#DF49BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5336BF

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

Preview Lab → · Contrast checker → · Palette generator →

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