#5330A4#5330A4

#5330A4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.175 H 290.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5330A4
RGBrgb(83, 48, 164)
HSLhsl(258, 55%, 42%)
HSVhsv(258, 71%, 64%)
CMYKcmyk(49.4%, 70.7%, 0%, 35.7%)
CIE-LABlab(30.96, 43.63, -57.08)
CIE-LCHlch(30.96, 71.84, 307.39°)
OKLaboklab(42.4% 0.0623 -0.1637)
OKLCHoklch(42.4% 0.175 290.8)
XYZxyz(11.3232, 6.6328, 35.7984)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330A4 #81A430
analogous
#3047A4 #5330A4 #8D30A4
triadic
#5330A4 #A45330 #30A453
tetradic
#5330A4 #A43047 #81A430 #30A48D
square
#5330A4 #A43047 #81A430 #30A48D
split-complementary
#5330A4 #A48D30 #47A430
monochromatic
#231445 #3B2275 #5330A4 #6F48C9 #9477D7

Accessibility & contrast

On white

9.03
#5330A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5330A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5330A4#FFFFFF#000000##FFFFFF
##5330A41.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#384E66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5330a4;
/* rgb */ color: rgb(83, 48, 164);
/* oklch */ color: oklch(42.4% 0.175 290.8);
Tailwind
colors: {
  custom: {
    50: '#8b6bc0',
    500: '#5330a4',
    950: '#000000',
  },
}
SCSS
$custom: #5330a4;
$custom-light: #8b6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5330a4",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 258.103,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.17515,
    "h": 290.8
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#5330A4
secondary
#A8BF70
accent
#DE4AB1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5330A4

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

Preview Lab → · Contrast checker → · Palette generator →

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