#532696#532696

#532696 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.170 H 296.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#532696
RGBrgb(83, 38, 150)
HSLhsl(264, 60%, 37%)
HSVhsv(264, 75%, 59%)
CMYKcmyk(44.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(27.92, 44.87, -53.52)
CIE-LCHlch(27.92, 69.84, 309.97°)
OKLaboklab(39.87% 0.0747 -0.1532)
OKLCHoklch(39.87% 0.17 296)
XYZxyz(9.7639, 5.4270, 29.3813)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532696 #699626
analogous
#263196 #532696 #8B2696
triadic
#532696 #965326 #269653
tetradic
#532696 #962631 #699626 #26968B
square
#532696 #962631 #699626 #26968B
split-complementary
#532696 #968B26 #319626
monochromatic
#1D0D34 #381A65 #532696 #6E32C7 #9060D7

Accessibility & contrast

On white

10.07
#532696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532696
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532696#FFFFFF#000000##FFFFFF
##5326961.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#41435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532696;
/* rgb */ color: rgb(83, 38, 150);
/* oklch */ color: oklch(39.9% 0.170 296.0);
Tailwind
colors: {
  custom: {
    50: '#8a65b6',
    500: '#532696',
    950: '#000000',
  },
}
SCSS
$custom: #532696;
$custom-light: #8a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532696",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 264.107,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39868,
    "c": 0.17046,
    "h": 296
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#532696
secondary
#95BC5C
accent
#E345A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532696

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

Preview Lab → · Contrast checker → · Palette generator →

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