#5333BA#5333BA

#5333BA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.198 H 286.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5333BA
RGBrgb(83, 51, 186)
HSLhsl(254, 57%, 46%)
HSVhsv(254, 73%, 73%)
CMYKcmyk(55.4%, 72.6%, 0%, 27.1%)
CIE-LABlab(33.46, 48.41, -66.12)
CIE-LCHlch(33.46, 81.94, 306.21°)
OKLaboklab(44.77% 0.0551 -0.1902)
OKLCHoklch(44.77% 0.198 286.2)
XYZxyz(13.6114, 7.7511, 47.2237)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333BA #9ABA33
analogous
#3357BA #5333BA #9733BA
triadic
#5333BA #BA5333 #33BA53
tetradic
#5333BA #BA3357 #9ABA33 #33BA97
square
#5333BA #BA3357 #9ABA33 #33BA97
split-complementary
#5333BA #BA9733 #57BA33
monochromatic
#28195A #3E268A #5333BA #7559D1 #9D89DF

Accessibility & contrast

On white

8.23
#5333BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5333BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333BA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333BA#FFFFFF#000000##FFFFFF
##5333BA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#255873
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5333ba;
/* rgb */ color: rgb(83, 51, 186);
/* oklch */ color: oklch(44.8% 0.198 286.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ed0',
    500: '#5333ba',
    950: '#000000',
  },
}
SCSS
$custom: #5333ba;
$custom-light: #8e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5333ba",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 254.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4477,
    "c": 0.19805,
    "h": 286.2
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#5333BA
secondary
#B7C980
accent
#E048BC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5333BA

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

Preview Lab → · Contrast checker → · Palette generator →

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