#5333BB#5333BB

#5333BB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.199 H 286.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5333BB
RGBrgb(83, 51, 187)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 73%, 73%)
CMYKcmyk(55.6%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.55, 48.70, -66.56)
CIE-LCHlch(33.55, 82.47, 306.19°)
OKLaboklab(44.86% 0.0549 -0.1915)
OKLCHoklch(44.86% 0.199 286)
XYZxyz(13.7180, 7.7937, 47.7856)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333BB #9BBB33
analogous
#3357BB #5333BB #9733BB
triadic
#5333BB #BB5333 #33BB53
tetradic
#5333BB #BB3357 #9BBB33 #33BB97
square
#5333BB #BB3357 #9BBB33 #33BB97
split-complementary
#5333BB #BB9733 #57BB33
monochromatic
#28195B #3E268B #5333BB #7659D2 #9E89DF

Accessibility & contrast

On white

8.21
#5333BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5333BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333BB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333BB#FFFFFF#000000##FFFFFF
##5333BB1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#245874
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5333bb;
/* rgb */ color: rgb(83, 51, 187);
/* oklch */ color: oklch(44.9% 0.199 286.0);
Tailwind
colors: {
  custom: {
    50: '#8e6ed1',
    500: '#5333bb',
    950: '#000000',
  },
}
SCSS
$custom: #5333bb;
$custom-light: #8e6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5333bb",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 254.118,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.19923,
    "h": 286
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#5333BB
secondary
#B8C981
accent
#E047BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5333BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5333BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva