#5232AD#5232AD

#5232AD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.184 H 288.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5232AD
RGBrgb(82, 50, 173)
HSLhsl(256, 55%, 44%)
HSVhsv(256, 71%, 68%)
CMYKcmyk(52.6%, 71.1%, 0%, 32.2%)
CIE-LABlab(32.01, 44.99, -60.76)
CIE-LCHlch(32.01, 75.60, 306.52°)
OKLaboklab(43.37% 0.0572 -0.1745)
OKLCHoklch(43.37% 0.184 288.1)
XYZxyz(12.1609, 7.0916, 40.2551)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232AD #8DAD32
analogous
#324FAD #5232AD #8F32AD
triadic
#5232AD #AD5232 #32AD52
tetradic
#5232AD #AD324F #8DAD32 #32AD8F
square
#5232AD #AD324F #8DAD32 #32AD8F
split-complementary
#5232AD #AD8F32 #4FAD32
monochromatic
#25174E #3B247E #5232AD #7050CC #977FDA

Accessibility & contrast

On white

8.68
#5232AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5232AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5232AD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232AD#FFFFFF#000000##FFFFFF
##5232AD1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#2F526C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5232ad;
/* rgb */ color: rgb(82, 50, 173);
/* oklch */ color: oklch(43.4% 0.184 288.1);
Tailwind
colors: {
  custom: {
    50: '#8c6dc6',
    500: '#5232ad',
    950: '#000000',
  },
}
SCSS
$custom: #5232ad;
$custom-light: #8c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5232ad",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 255.61,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.18369,
    "h": 288.1
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#5232AD
secondary
#AFC378
accent
#DE49B8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5232AD

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

Preview Lab → · Contrast checker → · Palette generator →

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