#532FB4#532FB4

#532FB4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.195 H 287.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#532FB4
RGBrgb(83, 47, 180)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 74%, 71%)
CMYKcmyk(53.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(32.18, 48.73, -64.65)
CIE-LCHlch(32.18, 80.96, 307.01°)
OKLaboklab(43.7% 0.0597 -0.1859)
OKLCHoklch(43.7% 0.195 287.8)
XYZxyz(12.8196, 7.1667, 43.8790)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB4 #90B42F
analogous
#2F4DB4 #532FB4 #962FB4
triadic
#532FB4 #B4532F #2FB453
tetradic
#532FB4 #B42F4D #90B42F #2FB496
square
#532FB4 #B42F4D #90B42F #2FB496
split-complementary
#532FB4 #B4962F #4DB42F
monochromatic
#261653 #3D2283 #532FB4 #724FD1 #9980DE

Accessibility & contrast

On white

8.63
#532FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#532FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB4
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB4#FFFFFF#000000##FFFFFF
##532FB41.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#2C536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532fb4;
/* rgb */ color: rgb(83, 47, 180);
/* oklch */ color: oklch(43.7% 0.195 287.8);
Tailwind
colors: {
  custom: {
    50: '#8d6bcc',
    500: '#532fb4',
    950: '#000000',
  },
}
SCSS
$custom: #532fb4;
$custom-light: #8d6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb4",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 256.241,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.19527,
    "h": 287.8
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#532FB4
secondary
#B1C778
accent
#E246B8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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