#532A78#532A78

#532A78 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.130 H 305.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#532A78
RGBrgb(83, 42, 120)
HSLhsl(272, 48%, 32%)
HSVhsv(272, 65%, 47%)
CMYKcmyk(30.8%, 65%, 0%, 52.9%)
CIE-LABlab(26.31, 34.79, -37.41)
CIE-LCHlch(26.31, 51.09, 312.91°)
OKLaboklab(37.97% 0.0748 -0.1059)
OKLCHoklch(37.97% 0.13 305.2)
XYZxyz(7.7847, 4.8510, 18.2919)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A78 #4F782A
analogous
#2C2A78 #532A78 #782A76
triadic
#532A78 #78532A #2A7853
tetradic
#532A78 #782C2A #4F782A #2A7678
square
#532A78 #782C2A #4F782A #2A7678
split-complementary
#532A78 #76782A #2A782C
monochromatic
#140A1D #341A4B #532A78 #723AA5 #9158C5

Accessibility & contrast

On white

10.66
#532A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#532A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A78
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A78#FFFFFF#000000##FFFFFF
##532A781.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#183E76
Tritanopia (blue-blind)
#4D3A4D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532a78;
/* rgb */ color: rgb(83, 42, 120);
/* oklch */ color: oklch(38.0% 0.130 305.2);
Tailwind
colors: {
  custom: {
    50: '#86669f',
    500: '#532a78',
    950: '#000000',
  },
}
SCSS
$custom: #532a78;
$custom-light: #86669f;
$custom-dark: #000000;
JSON
{
  "hex": "#532a78",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 271.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.12963,
    "h": 305.2
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#532A78
secondary
#7DAA54
accent
#D85090
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #532A78

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

Preview Lab → · Contrast checker → · Palette generator →

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