#5232A9#5232A9

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

Color values

HEX#5232A9
RGBrgb(82, 50, 169)
HSLhsl(256, 54%, 43%)
HSVhsv(256, 70%, 66%)
CMYKcmyk(51.5%, 70.4%, 0%, 33.7%)
CIE-LABlab(31.67, 43.82, -58.93)
CIE-LCHlch(31.67, 73.44, 306.64°)
OKLaboklab(43.01% 0.058 -0.1692)
OKLCHoklch(43.01% 0.179 288.9)
XYZxyz(11.7796, 6.9391, 38.2471)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232A9 #89A932
analogous
#324EA9 #5232A9 #8D32A9
triadic
#5232A9 #A95232 #32A952
tetradic
#5232A9 #A9324E #89A932 #32A98D
square
#5232A9 #A9324E #89A932 #32A98D
split-complementary
#5232A9 #A98D32 #4EA932
monochromatic
#24164B #3B247A #5232A9 #6F4ECB #967DD9

Accessibility & contrast

On white

8.79
#5232A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5232A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5232A9
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232A9#FFFFFF#000000##FFFFFF
##5232A91.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5232a9;
/* rgb */ color: rgb(82, 50, 169);
/* oklch */ color: oklch(43.0% 0.179 288.9);
Tailwind
colors: {
  custom: {
    50: '#8b6dc4',
    500: '#5232a9',
    950: '#000000',
  },
}
SCSS
$custom: #5232a9;
$custom-light: #8b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5232a9",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 256.134,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.17884,
    "h": 288.9
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#5232A9
secondary
#ADC176
accent
#DE4AB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5232A9

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

Preview Lab → · Contrast checker → · Palette generator →

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