#5331A3#5331A3

#5331A3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.173 H 290.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5331A3
RGBrgb(83, 49, 163)
HSLhsl(258, 54%, 42%)
HSVhsv(258, 70%, 64%)
CMYKcmyk(49.1%, 69.9%, 0%, 36.1%)
CIE-LABlab(31.07, 42.80, -56.30)
CIE-LCHlch(31.07, 70.72, 307.25°)
OKLaboklab(42.45% 0.0615 -0.1614)
OKLCHoklch(42.45% 0.173 290.9)
XYZxyz(11.2746, 6.6795, 35.3385)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331A3 #81A331
analogous
#3148A3 #5331A3 #8C31A3
triadic
#5331A3 #A35331 #31A353
tetradic
#5331A3 #A33148 #81A331 #31A38C
square
#5331A3 #A33148 #81A331 #31A38C
split-complementary
#5331A3 #A38C31 #48A331
monochromatic
#231545 #3B2374 #5331A3 #6F49C8 #9478D6

Accessibility & contrast

On white

8.99
#5331A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5331A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331A3
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331A3#FFFFFF#000000##FFFFFF
##5331A31.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#394E66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5331a3;
/* rgb */ color: rgb(83, 49, 163);
/* oklch */ color: oklch(42.4% 0.173 290.9);
Tailwind
colors: {
  custom: {
    50: '#8b6cbf',
    500: '#5331a3',
    950: '#000000',
  },
}
SCSS
$custom: #5331a3;
$custom-light: #8b6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5331a3",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 257.895,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.17273,
    "h": 290.9
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#5331A3
secondary
#A8BF71
accent
#DD4BB1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #5331A3

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

Preview Lab → · Contrast checker → · Palette generator →

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