#532FA1#532FA1

#532FA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.173 H 291.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#532FA1
RGBrgb(83, 47, 161)
HSLhsl(259, 55%, 41%)
HSVhsv(259, 71%, 63%)
CMYKcmyk(48.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(30.51, 43.31, -56.00)
CIE-LCHlch(30.51, 70.79, 307.72°)
OKLaboklab(42% 0.0638 -0.1605)
OKLCHoklch(42% 0.173 291.7)
XYZxyz(11.0150, 6.4448, 34.3749)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA1 #7DA12F
analogous
#2F44A1 #532FA1 #8C2FA1
triadic
#532FA1 #A1532F #2FA153
tetradic
#532FA1 #A12F44 #7DA12F #2FA18C
square
#532FA1 #A12F44 #7DA12F #2FA18C
split-complementary
#532FA1 #A18C2F #44A12F
monochromatic
#221342 #3B2172 #532FA1 #6E45C9 #9374D6

Accessibility & contrast

On white

9.17
#532FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532FA1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA1#FFFFFF#000000##FFFFFF
##532FA11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#3A4C64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532fa1;
/* rgb */ color: rgb(83, 47, 161);
/* oklch */ color: oklch(42.0% 0.173 291.7);
Tailwind
colors: {
  custom: {
    50: '#8b6abe',
    500: '#532fa1',
    950: '#000000',
  },
}
SCSS
$custom: #532fa1;
$custom-light: #8b6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa1",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 258.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.17274,
    "h": 291.7
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#532FA1
secondary
#A5BE6E
accent
#DE4AAF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #532FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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