#532FB7#532FB7

#532FB7 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.199 H 287.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#532FB7
RGBrgb(83, 47, 183)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 74%, 72%)
CMYKcmyk(54.6%, 74.3%, 0%, 28.2%)
CIE-LABlab(32.46, 49.59, -65.98)
CIE-LCHlch(32.46, 82.54, 306.93°)
OKLaboklab(43.98% 0.059 -0.1898)
OKLCHoklch(43.98% 0.199 287.3)
XYZxyz(13.1285, 7.2902, 45.5059)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB7 #93B72F
analogous
#2F4FB7 #532FB7 #972FB7
triadic
#532FB7 #B7532F #2FB753
tetradic
#532FB7 #B72F4F #93B72F #2FB797
square
#532FB7 #B72F4F #93B72F #2FB797
split-complementary
#532FB7 #B7972F #4FB72F
monochromatic
#271656 #3D2286 #532FB7 #7351D2 #9A82DF

Accessibility & contrast

On white

8.54
#532FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#532FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB7#FFFFFF#000000##FFFFFF
##532FB71.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#295471
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532fb7;
/* rgb */ color: rgb(83, 47, 183);
/* oklch */ color: oklch(44.0% 0.199 287.3);
Tailwind
colors: {
  custom: {
    50: '#8e6bce',
    500: '#532fb7',
    950: '#000000',
  },
}
SCSS
$custom: #532fb7;
$custom-light: #8e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb7",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 255.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.19876,
    "h": 287.3
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#532FB7
secondary
#B3C87A
accent
#E245B9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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