#532FB8#532FB8

#532FB8 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.200 H 287.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#532FB8
RGBrgb(83, 47, 184)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 74%, 72%)
CMYKcmyk(54.9%, 74.5%, 0%, 27.8%)
CIE-LABlab(32.55, 49.87, -66.42)
CIE-LCHlch(32.55, 83.06, 306.90°)
OKLaboklab(44.07% 0.0587 -0.1911)
OKLCHoklch(44.07% 0.2 287.1)
XYZxyz(13.2329, 7.3320, 46.0560)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB8 #94B82F
analogous
#2F50B8 #532FB8 #972FB8
triadic
#532FB8 #B8532F #2FB853
tetradic
#532FB8 #B82F50 #94B82F #2FB897
square
#532FB8 #B82F50 #94B82F #2FB897
split-complementary
#532FB8 #B8972F #50B82F
monochromatic
#271657 #3D2387 #532FB8 #7352D3 #9B82DF

Accessibility & contrast

On white

8.51
#532FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#532FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB8#FFFFFF#000000##FFFFFF
##532FB81.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#275571
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #532fb8;
/* rgb */ color: rgb(83, 47, 184);
/* oklch */ color: oklch(44.1% 0.200 287.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bce',
    500: '#532fb8',
    950: '#000000',
  },
}
SCSS
$custom: #532fb8;
$custom-light: #8e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb8",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 255.766,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44073,
    "c": 0.19992,
    "h": 287.1
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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