#532697#532697

#532697 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.172 H 295.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#532697
RGBrgb(83, 38, 151)
HSLhsl(264, 60%, 37%)
HSVhsv(264, 75%, 59%)
CMYKcmyk(45%, 74.8%, 0%, 40.8%)
CIE-LABlab(28.01, 45.14, -53.99)
CIE-LCHlch(28.01, 70.37, 309.90°)
OKLaboklab(39.96% 0.0745 -0.1546)
OKLCHoklch(39.96% 0.172 295.7)
XYZxyz(9.8448, 5.4594, 29.8072)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532697 #6A9726
analogous
#263297 #532697 #8C2697
triadic
#532697 #975326 #269753
tetradic
#532697 #972632 #6A9726 #26978C
square
#532697 #972632 #6A9726 #26978C
split-complementary
#532697 #978C26 #329726
monochromatic
#1D0D35 #381A66 #532697 #6E32C8 #9060D7

Accessibility & contrast

On white

10.04
#532697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#532697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532697
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532697#FFFFFF#000000##FFFFFF
##5326971.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#40435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532697;
/* rgb */ color: rgb(83, 38, 151);
/* oklch */ color: oklch(40.0% 0.172 295.7);
Tailwind
colors: {
  custom: {
    50: '#8a65b7',
    500: '#532697',
    950: '#000000',
  },
}
SCSS
$custom: #532697;
$custom-light: #8a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532697",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 263.894,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.17161,
    "h": 295.7
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#532697
secondary
#96BC5C
accent
#E345A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532697

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

Preview Lab → · Contrast checker → · Palette generator →

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