#5333AC#5333AC

#5333AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.181 H 288.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5333AC
RGBrgb(83, 51, 172)
HSLhsl(256, 54%, 44%)
HSVhsv(256, 70%, 67%)
CMYKcmyk(51.7%, 70.3%, 0%, 32.5%)
CIE-LABlab(32.22, 44.33, -59.82)
CIE-LCHlch(32.22, 74.45, 306.54°)
OKLaboklab(43.51% 0.058 -0.1718)
OKLCHoklch(43.51% 0.181 288.6)
XYZxyz(12.1953, 7.1847, 39.7659)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333AC #8CAC33
analogous
#334FAC #5333AC #8F33AC
triadic
#5333AC #AC5333 #33AC53
tetradic
#5333AC #AC334F #8CAC33 #33AC8F
square
#5333AC #AC334F #8CAC33 #33AC8F
split-complementary
#5333AC #AC8F33 #4FAC33
monochromatic
#25174E #3C257D #5333AC #7151CB #9880D9

Accessibility & contrast

On white

8.62
#5333AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5333AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333AC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333AC#FFFFFF#000000##FFFFFF
##5333AC1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#32526C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5333ac;
/* rgb */ color: rgb(83, 51, 172);
/* oklch */ color: oklch(43.5% 0.181 288.6);
Tailwind
colors: {
  custom: {
    50: '#8c6dc6',
    500: '#5333ac',
    950: '#000000',
  },
}
SCSS
$custom: #5333ac;
$custom-light: #8c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5333ac",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 255.868,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.18127,
    "h": 288.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#5333AC
secondary
#AFC278
accent
#DE4AB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5333AC

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

Preview Lab → · Contrast checker → · Palette generator →

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