#532491#532491

#532491 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 297.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#532491
RGBrgb(83, 36, 145)
HSLhsl(266, 60%, 35%)
HSVhsv(266, 75%, 57%)
CMYKcmyk(42.8%, 75.2%, 0%, 43.1%)
CIE-LABlab(27.14, 44.50, -51.71)
CIE-LCHlch(27.14, 68.22, 310.72°)
OKLaboklab(39.19% 0.0778 -0.1479)
OKLCHoklch(39.19% 0.167 297.8)
XYZxyz(9.3077, 5.1449, 27.2853)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532491 #629124
analogous
#242B91 #532491 #8A2491
triadic
#532491 #915324 #249153
tetradic
#532491 #91242B #629124 #24918A
square
#532491 #91242B #629124 #24918A
split-complementary
#532491 #918A24 #2B9124
monochromatic
#1B0C2F #371860 #532491 #6F30C2 #8F59D6

Accessibility & contrast

On white

10.35
#532491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532491
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532491#FFFFFF#000000##FFFFFF
##5324911.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#434058
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532491;
/* rgb */ color: rgb(83, 36, 145);
/* oklch */ color: oklch(39.2% 0.167 297.8);
Tailwind
colors: {
  custom: {
    50: '#8964b2',
    500: '#532491',
    950: '#000000',
  },
}
SCSS
$custom: #532491;
$custom-light: #8964b2;
$custom-dark: #000000;
JSON
{
  "hex": "#532491",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 265.872,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.16709,
    "h": 297.8
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#532491
secondary
#8FBA56
accent
#E3449F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532491

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

Preview Lab → · Contrast checker → · Palette generator →

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