#532276#532276

#532276 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.139 H 307.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#532276
RGBrgb(83, 34, 118)
HSLhsl(275, 55%, 30%)
HSVhsv(275, 71%, 46%)
CMYKcmyk(29.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(24.61, 38.53, -38.87)
CIE-LCHlch(24.61, 54.74, 314.75°)
OKLaboklab(36.71% 0.0849 -0.1101)
OKLCHoklch(36.71% 0.139 307.6)
XYZxyz(7.4086, 4.2912, 17.5740)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532276 #457622
analogous
#292276 #532276 #76226F
triadic
#532276 #765322 #227653
tetradic
#532276 #762922 #457622 #226F76
square
#532276 #762922 #457622 #226F76
split-complementary
#532276 #6F7622 #227629
monochromatic
#110718 #321446 #532276 #7430A6 #9448CA

Accessibility & contrast

On white

11.30
#532276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#532276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532276
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532276#FFFFFF#000000##FFFFFF
##5322761.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#4D3449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532276;
/* rgb */ color: rgb(83, 34, 118);
/* oklch */ color: oklch(36.7% 0.139 307.6);
Tailwind
colors: {
  custom: {
    50: '#87619e',
    500: '#532276',
    950: '#000000',
  },
}
SCSS
$custom: #532276;
$custom-light: #87619e;
$custom-dark: #000000;
JSON
{
  "hex": "#532276",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 275,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36705,
    "c": 0.13908,
    "h": 307.6
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#532276
secondary
#72A94B
accent
#DF4987
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532276

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

Preview Lab → · Contrast checker → · Palette generator →

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