#532AA3#532AA3

#532AA3 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.181 H 292.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#532AA3
RGBrgb(83, 42, 163)
HSLhsl(260, 59%, 40%)
HSVhsv(260, 74%, 64%)
CMYKcmyk(49.1%, 74.2%, 0%, 36.1%)
CIE-LABlab(29.76, 46.45, -58.43)
CIE-LCHlch(29.76, 74.64, 308.48°)
OKLaboklab(41.52% 0.068 -0.1676)
OKLCHoklch(41.52% 0.181 292.1)
XYZxyz(11.0042, 6.1389, 35.2483)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA3 #7AA32A
analogous
#2A3DA3 #532AA3 #902AA3
triadic
#532AA3 #A3532A #2AA353
tetradic
#532AA3 #A32A3D #7AA32A #2AA390
square
#532AA3 #A32A3D #7AA32A #2AA390
split-complementary
#532AA3 #A3902A #3DA32A
monochromatic
#211142 #3A1D72 #532AA3 #6E3DCD #926EDA

Accessibility & contrast

On white

9.43
#532AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#532AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA3#FFFFFF#000000##FFFFFF
##532AA31.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#394A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532aa3;
/* rgb */ color: rgb(83, 42, 163);
/* oklch */ color: oklch(41.5% 0.181 292.1);
Tailwind
colors: {
  custom: {
    50: '#8b68bf',
    500: '#532aa3',
    950: '#000000',
  },
}
SCSS
$custom: #532aa3;
$custom-light: #8b68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa3",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 260.331,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.18091,
    "h": 292.1
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#532AA3
secondary
#A3C068
accent
#E246AD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532AA3

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

Preview Lab → · Contrast checker → · Palette generator →

#532AA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva