#532BA4#532BA4

#532BA4 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.181 H 291.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#532BA4
RGBrgb(83, 43, 164)
HSLhsl(260, 58%, 41%)
HSVhsv(260, 74%, 64%)
CMYKcmyk(49.4%, 73.8%, 0%, 35.7%)
CIE-LABlab(30.03, 46.23, -58.60)
CIE-LCHlch(30.03, 74.64, 308.27°)
OKLaboklab(41.74% 0.0669 -0.1681)
OKLCHoklch(41.74% 0.181 291.7)
XYZxyz(11.1301, 6.2467, 35.7340)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BA4 #7CA42B
analogous
#2B3FA4 #532BA4 #8F2BA4
triadic
#532BA4 #A4532B #2BA453
tetradic
#532BA4 #A42B3F #7CA42B #2BA48F
square
#532BA4 #A42B3F #7CA42B #2BA48F
split-complementary
#532BA4 #A48F2B #3FA42B
monochromatic
#221243 #3A1E74 #532BA4 #6E3FCD #9370D9

Accessibility & contrast

On white

9.34
#532BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#532BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BA4
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BA4#FFFFFF#000000##FFFFFF
##532BA41.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#394B65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532ba4;
/* rgb */ color: rgb(83, 43, 164);
/* oklch */ color: oklch(41.7% 0.181 291.7);
Tailwind
colors: {
  custom: {
    50: '#8b68c0',
    500: '#532ba4',
    950: '#000000',
  },
}
SCSS
$custom: #532ba4;
$custom-light: #8b68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#532ba4",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 259.835,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.18095,
    "h": 291.7
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#532BA4
secondary
#A4C16A
accent
#E246AE
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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