#5330AA#5330AA

#5330AA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.182 H 289.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5330AA
RGBrgb(83, 48, 170)
HSLhsl(257, 56%, 43%)
HSVhsv(257, 72%, 67%)
CMYKcmyk(51.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(31.47, 45.35, -59.84)
CIE-LCHlch(31.47, 75.09, 307.16°)
OKLaboklab(42.93% 0.0611 -0.1718)
OKLCHoklch(42.93% 0.182 289.6)
XYZxyz(11.8778, 6.8547, 38.7196)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330AA #87AA30
analogous
#304AAA #5330AA #9030AA
triadic
#5330AA #AA5330 #30AA53
tetradic
#5330AA #AA304A #87AA30 #30AA90
square
#5330AA #AA304A #87AA30 #30AA90
split-complementary
#5330AA #AA9030 #4AAA30
monochromatic
#24154B #3C237A #5330AA #704BCC #967BDA

Accessibility & contrast

On white

8.86
#5330AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5330AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330AA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330AA#FFFFFF#000000##FFFFFF
##5330AA1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#34506A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5330aa;
/* rgb */ color: rgb(83, 48, 170);
/* oklch */ color: oklch(42.9% 0.182 289.6);
Tailwind
colors: {
  custom: {
    50: '#8c6bc4',
    500: '#5330aa',
    950: '#000000',
  },
}
SCSS
$custom: #5330aa;
$custom-light: #8c6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5330aa",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 257.213,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.18235,
    "h": 289.6
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#5330AA
secondary
#ACC274
accent
#DF49B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5330AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5330AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva