#5331A9#5331A9

#5331A9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.180 H 289.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5331A9
RGBrgb(83, 49, 169)
HSLhsl(257, 55%, 43%)
HSVhsv(257, 71%, 66%)
CMYKcmyk(50.9%, 71%, 0%, 33.7%)
CIE-LABlab(31.58, 44.53, -59.07)
CIE-LCHlch(31.58, 73.98, 307.01°)
OKLaboklab(42.97% 0.0604 -0.1696)
OKLCHoklch(42.97% 0.18 289.6)
XYZxyz(11.8250, 6.8997, 38.2371)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331A9 #87A931
analogous
#314BA9 #5331A9 #8F31A9
triadic
#5331A9 #A95331 #31A953
tetradic
#5331A9 #A9314B #87A931 #31A98F
square
#5331A9 #A9314B #87A931 #31A98F
split-complementary
#5331A9 #A98F31 #4BA931
monochromatic
#24154A #3C237A #5331A9 #704CCB #967CD9

Accessibility & contrast

On white

8.82
#5331A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5331A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331A9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331A9#FFFFFF#000000##FFFFFF
##5331A91.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#355069
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5331a9;
/* rgb */ color: rgb(83, 49, 169);
/* oklch */ color: oklch(43.0% 0.180 289.6);
Tailwind
colors: {
  custom: {
    50: '#8c6cc4',
    500: '#5331a9',
    950: '#000000',
  },
}
SCSS
$custom: #5331a9;
$custom-light: #8c6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5331a9",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 257,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.18,
    "h": 289.6
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#5331A9
secondary
#ACC174
accent
#DE49B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5331A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5331A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva