#5334AD#5334AD

#5334AD is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.181 H 288.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5334AD
RGBrgb(83, 52, 173)
HSLhsl(255, 54%, 44%)
HSVhsv(255, 70%, 68%)
CMYKcmyk(52%, 69.9%, 0%, 32.2%)
CIE-LABlab(32.51, 44.08, -59.95)
CIE-LCHlch(32.51, 74.41, 306.32°)
OKLaboklab(43.74% 0.0569 -0.1722)
OKLCHoklch(43.74% 0.181 288.3)
XYZxyz(12.3359, 7.3115, 40.2883)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334AD #8EAD34
analogous
#3452AD #5334AD #9034AD
triadic
#5334AD #AD5334 #34AD53
tetradic
#5334AD #AD3452 #8EAD34 #34AD90
square
#5334AD #AD3452 #8EAD34 #34AD90
split-complementary
#5334AD #AD9034 #52AD34
monochromatic
#26184F #3C267E #5334AD #7253CB #9882D9

Accessibility & contrast

On white

8.53
#5334AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5334AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334AD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334AD#FFFFFF#000000##FFFFFF
##5334AD1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5334ad;
/* rgb */ color: rgb(83, 52, 173);
/* oklch */ color: oklch(43.7% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ec6',
    500: '#5334ad',
    950: '#000000',
  },
}
SCSS
$custom: #5334ad;
$custom-light: #8c6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5334ad",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 255.372,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.1813,
    "h": 288.3
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#5334AD
secondary
#B0C37A
accent
#DD4BB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5334AD

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

Preview Lab → · Contrast checker → · Palette generator →

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