#532897#532897

#532897 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.169 H 295.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#532897
RGBrgb(83, 40, 151)
HSLhsl(263, 58%, 37%)
HSVhsv(263, 74%, 59%)
CMYKcmyk(45%, 73.5%, 0%, 40.8%)
CIE-LABlab(28.36, 44.15, -53.42)
CIE-LCHlch(28.36, 69.30, 309.57°)
OKLaboklab(40.2% 0.0726 -0.1529)
OKLCHoklch(40.2% 0.169 295.4)
XYZxyz(9.9105, 5.5907, 29.8291)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532897 #6C9728
analogous
#283597 #532897 #8A2897
triadic
#532897 #975328 #289753
tetradic
#532897 #972835 #6C9728 #28978A
square
#532897 #972835 #6C9728 #28978A
split-complementary
#532897 #978A28 #359728
monochromatic
#1E0E36 #381B67 #532897 #6E35C7 #9064D6

Accessibility & contrast

On white

9.91
#532897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#532897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532897
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532897#FFFFFF#000000##FFFFFF
##5328971.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#40445D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532897;
/* rgb */ color: rgb(83, 40, 151);
/* oklch */ color: oklch(40.2% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#8a66b6',
    500: '#532897',
    950: '#000000',
  },
}
SCSS
$custom: #532897;
$custom-light: #8a66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532897",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 263.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.16928,
    "h": 295.4
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#532897
secondary
#98BC5F
accent
#E146A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532897

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

Preview Lab → · Contrast checker → · Palette generator →

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