#532FB3#532FB3

#532FB3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.194 H 288.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#532FB3
RGBrgb(83, 47, 179)
HSLhsl(256, 58%, 44%)
HSVhsv(256, 74%, 70%)
CMYKcmyk(53.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(32.09, 48.45, -64.21)
CIE-LCHlch(32.09, 80.43, 307.03°)
OKLaboklab(43.61% 0.0599 -0.1846)
OKLCHoklch(43.61% 0.194 288)
XYZxyz(12.7181, 7.1261, 43.3444)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB3 #8FB32F
analogous
#2F4DB3 #532FB3 #952FB3
triadic
#532FB3 #B3532F #2FB353
tetradic
#532FB3 #B32F4D #8FB32F #2FB395
square
#532FB3 #B32F4D #8FB32F #2FB395
split-complementary
#532FB3 #B3952F #4DB32F
monochromatic
#261652 #3D2283 #532FB3 #724FD1 #997FDD

Accessibility & contrast

On white

8.66
#532FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532FB3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB3#FFFFFF#000000##FFFFFF
##532FB31.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#2D536E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532fb3;
/* rgb */ color: rgb(83, 47, 179);
/* oklch */ color: oklch(43.6% 0.194 288.0);
Tailwind
colors: {
  custom: {
    50: '#8d6bcb',
    500: '#532fb3',
    950: '#000000',
  },
}
SCSS
$custom: #532fb3;
$custom-light: #8d6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb3",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 256.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4361,
    "c": 0.1941,
    "h": 288
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#532FB3
secondary
#B1C678
accent
#E246B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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