#532891#532891

#532891 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.162 H 297.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#532891
RGBrgb(83, 40, 145)
HSLhsl(265, 57%, 36%)
HSVhsv(265, 72%, 57%)
CMYKcmyk(42.8%, 72.4%, 0%, 43.1%)
CIE-LABlab(27.85, 42.52, -50.56)
CIE-LCHlch(27.85, 66.06, 310.06°)
OKLaboklab(39.69% 0.0739 -0.1445)
OKLCHoklch(39.69% 0.162 297.1)
XYZxyz(9.4356, 5.4007, 27.3279)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532891 #669128
analogous
#283291 #532891 #882891
triadic
#532891 #915328 #289153
tetradic
#532891 #912832 #669128 #289188
square
#532891 #912832 #669128 #289188
split-complementary
#532891 #918828 #329128
monochromatic
#1C0E31 #381B61 #532891 #6E35C1 #8F60D3

Accessibility & contrast

On white

10.10
#532891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#532891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532891
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532891#FFFFFF#000000##FFFFFF
##5328911.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#43425A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532891;
/* rgb */ color: rgb(83, 40, 145);
/* oklch */ color: oklch(39.7% 0.162 297.1);
Tailwind
colors: {
  custom: {
    50: '#8966b2',
    500: '#532891',
    950: '#000000',
  },
}
SCSS
$custom: #532891;
$custom-light: #8966b2;
$custom-dark: #000000;
JSON
{
  "hex": "#532891",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 264.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.1623,
    "h": 297.1
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#532891
secondary
#93B95C
accent
#E048A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532891

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

Preview Lab → · Contrast checker → · Palette generator →

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