#532CAC#532CAC

#532CAC is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.189 H 289.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#532CAC
RGBrgb(83, 44, 172)
HSLhsl(258, 59%, 42%)
HSVhsv(258, 74%, 67%)
CMYKcmyk(51.7%, 74.4%, 0%, 32.5%)
CIE-LABlab(30.92, 47.97, -61.95)
CIE-LCHlch(30.92, 78.35, 307.75°)
OKLaboklab(42.59% 0.0641 -0.178)
OKLCHoklch(42.59% 0.189 289.8)
XYZxyz(11.9122, 6.6184, 39.6715)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CAC #85AC2C
analogous
#2C45AC #532CAC #932CAC
triadic
#532CAC #AC532C #2CAC53
tetradic
#532CAC #AC2C45 #85AC2C #2CAC93
square
#532CAC #AC2C45 #85AC2C #2CAC93
split-complementary
#532CAC #AC932C #45AC2C
monochromatic
#24134B #3B207B #532CAC #7046D0 #9576DC

Accessibility & contrast

On white

9.04
#532CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#532CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CAC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CAC#FFFFFF#000000##FFFFFF
##532CAC1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#334F6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532cac;
/* rgb */ color: rgb(83, 44, 172);
/* oklch */ color: oklch(42.6% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#8d69c6',
    500: '#532cac',
    950: '#000000',
  },
}
SCSS
$custom: #532cac;
$custom-light: #8d69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#532cac",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 258.281,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.18916,
    "h": 289.8
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#532CAC
secondary
#AAC470
accent
#E245B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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