#532F97#532F97

#532F97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.161 H 294.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#532F97
RGBrgb(83, 47, 151)
HSLhsl(261, 53%, 39%)
HSVhsv(261, 69%, 59%)
CMYKcmyk(45%, 68.9%, 0%, 40.8%)
CIE-LABlab(29.68, 40.47, -51.26)
CIE-LCHlch(29.68, 65.31, 308.29°)
OKLaboklab(41.15% 0.0655 -0.1466)
OKLCHoklch(41.15% 0.161 294.1)
XYZxyz(10.1682, 6.1061, 29.9150)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532F97 #73972F
analogous
#2F3F97 #532F97 #872F97
triadic
#532F97 #97532F #2F9753
tetradic
#532F97 #972F3F #73972F #2F9787
square
#532F97 #972F3F #73972F #2F9787
split-complementary
#532F97 #97872F #3F972F
monochromatic
#20123A #392068 #532F97 #6D40C3 #916ED2

Accessibility & contrast

On white

9.45
#532F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#532F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532F97
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532F97#FFFFFF#000000##FFFFFF
##532F971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#40485F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532f97;
/* rgb */ color: rgb(83, 47, 151);
/* oklch */ color: oklch(41.1% 0.161 294.1);
Tailwind
colors: {
  custom: {
    50: '#896ab6',
    500: '#532f97',
    950: '#000000',
  },
}
SCSS
$custom: #532f97;
$custom-light: #896ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#532f97",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 260.769,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.16059,
    "h": 294.1
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#532F97
secondary
#9DB968
accent
#DC4CAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #532F97

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

Preview Lab → · Contrast checker → · Palette generator →

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