#532997#532997

#532997 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.168 H 295.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#532997
RGBrgb(83, 41, 151)
HSLhsl(263, 57%, 38%)
HSVhsv(263, 73%, 59%)
CMYKcmyk(45%, 72.8%, 0%, 40.8%)
CIE-LABlab(28.54, 43.64, -53.13)
CIE-LCHlch(28.54, 68.75, 309.40°)
OKLaboklab(40.33% 0.0716 -0.1521)
OKLCHoklch(40.33% 0.168 295.2)
XYZxyz(9.9446, 5.6590, 29.8405)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532997 #6D9729
analogous
#293697 #532997 #8A2997
triadic
#532997 #975329 #299753
tetradic
#532997 #972936 #6D9729 #29978A
square
#532997 #972936 #6D9729 #29978A
split-complementary
#532997 #978A29 #369729
monochromatic
#1E0F37 #391C67 #532997 #6D36C7 #9065D5

Accessibility & contrast

On white

9.85
#532997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#532997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532997
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532997#FFFFFF#000000##FFFFFF
##5329971.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532997;
/* rgb */ color: rgb(83, 41, 151);
/* oklch */ color: oklch(40.3% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#8a67b6',
    500: '#532997',
    950: '#000000',
  },
}
SCSS
$custom: #532997;
$custom-light: #8a67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532997",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 262.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.1681,
    "h": 295.2
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#532997
secondary
#99BB61
accent
#E147A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532997

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

Preview Lab → · Contrast checker → · Palette generator →

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