#532BA9#532BA9

#532BA9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.187 H 290.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#532BA9
RGBrgb(83, 43, 169)
HSLhsl(259, 59%, 42%)
HSVhsv(259, 75%, 66%)
CMYKcmyk(50.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(30.47, 47.63, -60.88)
CIE-LCHlch(30.47, 77.30, 308.04°)
OKLaboklab(42.19% 0.0657 -0.1748)
OKLCHoklch(42.19% 0.187 290.6)
XYZxyz(11.5905, 6.4308, 38.1590)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BA9 #81A92B
analogous
#2B42A9 #532BA9 #922BA9
triadic
#532BA9 #A9532B #2BA953
tetradic
#532BA9 #A92B42 #81A92B #2BA992
square
#532BA9 #A92B42 #81A92B #2BA992
split-complementary
#532BA9 #A9922B #42A92B
monochromatic
#231247 #3B1F78 #532BA9 #6F42CF #9473DB

Accessibility & contrast

On white

9.19
#532BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#532BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BA9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BA9#FFFFFF#000000##FFFFFF
##532BA91.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#354D68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ba9;
/* rgb */ color: rgb(83, 43, 169);
/* oklch */ color: oklch(42.2% 0.187 290.6);
Tailwind
colors: {
  custom: {
    50: '#8c68c4',
    500: '#532ba9',
    950: '#000000',
  },
}
SCSS
$custom: #532ba9;
$custom-light: #8c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#532ba9",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 259.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.18676,
    "h": 290.6
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#532BA9
secondary
#A8C36D
accent
#E345B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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