#5330AC#5330AC

#5330AC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.185 H 289.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#5330AC
RGBrgb(83, 48, 172)
HSLhsl(257, 56%, 43%)
HSVhsv(257, 72%, 67%)
CMYKcmyk(51.7%, 72.1%, 0%, 32.5%)
CIE-LABlab(31.65, 45.93, -60.76)
CIE-LCHlch(31.65, 76.16, 307.09°)
OKLaboklab(43.1% 0.0607 -0.1745)
OKLCHoklch(43.1% 0.185 289.2)
XYZxyz(12.0685, 6.9309, 39.7236)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330AC #89AC30
analogous
#304BAC #5330AC #9130AC
triadic
#5330AC #AC5330 #30AC53
tetradic
#5330AC #AC304B #89AC30 #30AC91
square
#5330AC #AC304B #89AC30 #30AC91
split-complementary
#5330AC #AC9130 #4BAC30
monochromatic
#25154C #3C237C #5330AC #714CCD #977CDA

Accessibility & contrast

On white

8.80
#5330AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5330AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5330AC#FFFFFF#000000##FFFFFF
##5330AC1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#33516B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5330ac;
/* rgb */ color: rgb(83, 48, 172);
/* oklch */ color: oklch(43.1% 0.185 289.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cc6',
    500: '#5330ac',
    950: '#000000',
  },
}
SCSS
$custom: #5330ac;
$custom-light: #8c6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5330ac",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 256.935,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.18474,
    "h": 289.2
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#5330AC
secondary
#ADC375
accent
#E048B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5330AC

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

Preview Lab → · Contrast checker → · Palette generator →

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