#532296#532296

#532296 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.175 H 296.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#532296
RGBrgb(83, 34, 150)
HSLhsl(265, 63%, 36%)
HSVhsv(265, 77%, 59%)
CMYKcmyk(44.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(27.26, 46.75, -54.60)
CIE-LCHlch(27.26, 71.89, 310.57°)
OKLaboklab(39.4% 0.0784 -0.1564)
OKLCHoklch(39.4% 0.175 296.6)
XYZxyz(9.6429, 5.1849, 29.3410)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532296 #659622
analogous
#222B96 #532296 #8D2296
triadic
#532296 #965322 #229653
tetradic
#532296 #96222B #659622 #22968D
square
#532296 #96222B #659622 #22968D
split-complementary
#532296 #968D22 #2B9622
monochromatic
#1C0B32 #371764 #532296 #6F2DC8 #8F59D9

Accessibility & contrast

On white

10.31
#532296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#532296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532296
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532296#FFFFFF#000000##FFFFFF
##5322961.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#41415B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532296;
/* rgb */ color: rgb(83, 34, 150);
/* oklch */ color: oklch(39.4% 0.175 296.6);
Tailwind
colors: {
  custom: {
    50: '#8a63b6',
    500: '#532296',
    950: '#000000',
  },
}
SCSS
$custom: #532296;
$custom-light: #8a63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532296",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 265.345,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.17489,
    "h": 296.6
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#532296
secondary
#92BE56
accent
#E642A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532296

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

Preview Lab → · Contrast checker → · Palette generator →

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