#532FB1#532FB1

#532FB1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.192 H 288.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#532FB1
RGBrgb(83, 47, 177)
HSLhsl(257, 58%, 44%)
HSVhsv(257, 73%, 69%)
CMYKcmyk(53.1%, 73.4%, 0%, 30.6%)
CIE-LABlab(31.91, 47.87, -63.31)
CIE-LCHlch(31.91, 79.38, 307.09°)
OKLaboklab(43.43% 0.0604 -0.182)
OKLCHoklch(43.43% 0.192 288.4)
XYZxyz(12.5173, 7.0458, 42.2869)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB1 #8DB12F
analogous
#2F4CB1 #532FB1 #942FB1
triadic
#532FB1 #B1532F #2FB153
tetradic
#532FB1 #B12F4C #8DB12F #2FB194
square
#532FB1 #B12F4C #8DB12F #2FB194
split-complementary
#532FB1 #B1942F #4CB12F
monochromatic
#261550 #3C2281 #532FB1 #714DD0 #987EDD

Accessibility & contrast

On white

8.72
#532FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#532FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB1#FFFFFF#000000##FFFFFF
##532FB11.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#2E526D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532fb1;
/* rgb */ color: rgb(83, 47, 177);
/* oklch */ color: oklch(43.4% 0.192 288.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bc9',
    500: '#532fb1',
    950: '#000000',
  },
}
SCSS
$custom: #532fb1;
$custom-light: #8d6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb1",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 256.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.19175,
    "h": 288.4
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#532FB1
secondary
#B0C576
accent
#E147B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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