#532F8D#532F8D

#532F8D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.148 H 296.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#532F8D
RGBrgb(83, 47, 141)
HSLhsl(263, 50%, 37%)
HSVhsv(263, 67%, 55%)
CMYKcmyk(41.1%, 66.7%, 0%, 44.7%)
CIE-LABlab(28.89, 37.66, -46.39)
CIE-LCHlch(28.89, 59.75, 309.07°)
OKLaboklab(40.33% 0.0669 -0.1323)
OKLCHoklch(40.33% 0.148 296.8)
XYZxyz(9.3903, 5.7949, 25.8179)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532F8D #698D2F
analogous
#2F3A8D #532F8D #822F8D
triadic
#532F8D #8D532F #2F8D53
tetradic
#532F8D #8D2F3A #698D2F #2F8D82
square
#532F8D #8D2F3A #698D2F #2F8D82
split-complementary
#532F8D #8D822F #3A8D2F
monochromatic
#1D1031 #38205F #532F8D #6E3EBB #9069CD

Accessibility & contrast

On white

9.73
#532F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#532F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532F8D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532F8D#FFFFFF#000000##FFFFFF
##532F8D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#454559
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532f8d;
/* rgb */ color: rgb(83, 47, 141);
/* oklch */ color: oklch(40.3% 0.148 296.8);
Tailwind
colors: {
  custom: {
    50: '#886aaf',
    500: '#532f8d',
    950: '#000000',
  },
}
SCSS
$custom: #532f8d;
$custom-light: #886aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#532f8d",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 262.979,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.14823,
    "h": 296.8
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#532F8D
secondary
#95B464
accent
#DA4EA4
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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