#532FB2#532FB2

#532FB2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.193 H 288.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#532FB2
RGBrgb(83, 47, 178)
HSLhsl(256, 58%, 44%)
HSVhsv(256, 74%, 70%)
CMYKcmyk(53.4%, 73.6%, 0%, 30.2%)
CIE-LABlab(32.00, 48.16, -63.76)
CIE-LCHlch(32.00, 79.91, 307.06°)
OKLaboklab(43.52% 0.0602 -0.1833)
OKLCHoklch(43.52% 0.193 288.2)
XYZxyz(12.6173, 7.0858, 42.8137)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB2 #8EB22F
analogous
#2F4CB2 #532FB2 #952FB2
triadic
#532FB2 #B2532F #2FB253
tetradic
#532FB2 #B22F4C #8EB22F #2FB295
square
#532FB2 #B22F4C #8EB22F #2FB295
split-complementary
#532FB2 #B2952F #4CB22F
monochromatic
#261551 #3C2282 #532FB2 #724ED0 #987EDD

Accessibility & contrast

On white

8.69
#532FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#532FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB2#FFFFFF#000000##FFFFFF
##532FB21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#2E526E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532fb2;
/* rgb */ color: rgb(83, 47, 178);
/* oklch */ color: oklch(43.5% 0.193 288.2);
Tailwind
colors: {
  custom: {
    50: '#8d6bca',
    500: '#532fb2',
    950: '#000000',
  },
}
SCSS
$custom: #532fb2;
$custom-light: #8d6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb2",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 256.489,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.19293,
    "h": 288.2
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#532FB2
secondary
#B0C677
accent
#E146B7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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