#532597#532597

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

Color values

HEX#532597
RGBrgb(83, 37, 151)
HSLhsl(264, 61%, 37%)
HSVhsv(264, 75%, 59%)
CMYKcmyk(45%, 75.5%, 0%, 40.8%)
CIE-LABlab(27.84, 45.62, -54.27)
CIE-LCHlch(27.84, 70.90, 310.05°)
OKLaboklab(39.84% 0.0754 -0.1554)
OKLCHoklch(39.84% 0.173 295.9)
XYZxyz(9.8133, 5.3963, 29.7967)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532597 #699725
analogous
#253097 #532597 #8C2597
triadic
#532597 #975325 #259753
tetradic
#532597 #972530 #699725 #25978C
square
#532597 #972530 #699725 #25978C
split-complementary
#532597 #978C25 #309725
monochromatic
#1D0D35 #381966 #532597 #6E31C8 #905FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532597#FFFFFF#000000##FFFFFF
##5325971.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)
#00429A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#40435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532597;
/* rgb */ color: rgb(83, 37, 151);
/* oklch */ color: oklch(39.8% 0.173 295.9);
Tailwind
colors: {
  custom: {
    50: '#8a64b7',
    500: '#532597',
    950: '#000000',
  },
}
SCSS
$custom: #532597;
$custom-light: #8a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532597",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 264.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.17273,
    "h": 295.9
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#532597
secondary
#95BD5B
accent
#E444A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532597

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

Preview Lab → · Contrast checker → · Palette generator →

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