#532791#532791

#532791 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.164 H 297.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#532791
RGBrgb(83, 39, 145)
HSLhsl(265, 58%, 36%)
HSVhsv(265, 73%, 57%)
CMYKcmyk(42.8%, 73.1%, 0%, 43.1%)
CIE-LABlab(27.67, 43.03, -50.85)
CIE-LCHlch(27.67, 66.61, 310.23°)
OKLaboklab(39.56% 0.0749 -0.1454)
OKLCHoklch(39.56% 0.164 297.2)
XYZxyz(9.4023, 5.3342, 27.3168)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532791 #659127
analogous
#273091 #532791 #882791
triadic
#532791 #915327 #279153
tetradic
#532791 #912730 #659127 #279188
square
#532791 #912730 #659127 #279188
split-complementary
#532791 #918827 #309127
monochromatic
#1C0D31 #371A61 #532791 #6F34C1 #8F5FD4

Accessibility & contrast

On white

10.16
#532791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#532791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532791
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532791#FFFFFF#000000##FFFFFF
##5327911.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#434259
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532791;
/* rgb */ color: rgb(83, 39, 145);
/* oklch */ color: oklch(39.6% 0.164 297.2);
Tailwind
colors: {
  custom: {
    50: '#8965b2',
    500: '#532791',
    950: '#000000',
  },
}
SCSS
$custom: #532791;
$custom-light: #8965b2;
$custom-dark: #000000;
JSON
{
  "hex": "#532791",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 264.906,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.16353,
    "h": 297.2
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#532791
secondary
#92B95B
accent
#E147A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532791

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

Preview Lab → · Contrast checker → · Palette generator →

#532791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva