#5333AD#5333AD

#5333AD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.182 H 288.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5333AD
RGBrgb(83, 51, 173)
HSLhsl(256, 54%, 44%)
HSVhsv(256, 71%, 68%)
CMYKcmyk(52%, 70.5%, 0%, 32.2%)
CIE-LABlab(32.31, 44.62, -60.27)
CIE-LCHlch(32.31, 74.99, 306.51°)
OKLaboklab(43.6% 0.0578 -0.1731)
OKLCHoklch(43.6% 0.182 288.5)
XYZxyz(12.2917, 7.2232, 40.2736)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333AD #8DAD33
analogous
#3350AD #5333AD #9033AD
triadic
#5333AD #AD5333 #33AD53
tetradic
#5333AD #AD3350 #8DAD33 #33AD90
square
#5333AD #AD3350 #8DAD33 #33AD90
split-complementary
#5333AD #AD9033 #50AD33
monochromatic
#26174E #3C257E #5333AD #7151CC #9881DA

Accessibility & contrast

On white

8.59
#5333AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5333AD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333AD#FFFFFF#000000##FFFFFF
##5333AD1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#32536C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5333ad;
/* rgb */ color: rgb(83, 51, 173);
/* oklch */ color: oklch(43.6% 0.182 288.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dc6',
    500: '#5333ad',
    950: '#000000',
  },
}
SCSS
$custom: #5333ad;
$custom-light: #8c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5333ad",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 255.738,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.18248,
    "h": 288.5
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5333AD

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

Preview Lab → · Contrast checker → · Palette generator →

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