#532277#532277

#532277 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.140 H 307.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#532277
RGBrgb(83, 34, 119)
HSLhsl(275, 56%, 30%)
HSVhsv(275, 71%, 47%)
CMYKcmyk(30.3%, 71.4%, 0%, 53.3%)
CIE-LABlab(24.69, 38.78, -39.39)
CIE-LCHlch(24.69, 55.28, 314.56°)
OKLaboklab(36.78% 0.0848 -0.1116)
OKLCHoklch(36.78% 0.14 307.2)
XYZxyz(7.4684, 4.3151, 17.8886)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532277 #467722
analogous
#282277 #532277 #772271
triadic
#532277 #775322 #227753
tetradic
#532277 #772822 #467722 #227177
square
#532277 #772822 #467722 #227177
split-complementary
#532277 #717722 #227728
monochromatic
#110718 #321447 #532277 #7430A7 #9449CB

Accessibility & contrast

On white

11.27
#532277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532277
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532277#FFFFFF#000000##FFFFFF
##5322771.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#0B3B75
Tritanopia (blue-blind)
#4D3549
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #532277;
/* rgb */ color: rgb(83, 34, 119);
/* oklch */ color: oklch(36.8% 0.140 307.2);
Tailwind
colors: {
  custom: {
    50: '#87619f',
    500: '#532277',
    950: '#000000',
  },
}
SCSS
$custom: #532277;
$custom-light: #87619f;
$custom-dark: #000000;
JSON
{
  "hex": "#532277",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 274.588,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.36783,
    "c": 0.1402,
    "h": 307.2
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#532277
secondary
#73AA4B
accent
#DF4988
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532277

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

Preview Lab → · Contrast checker → · Palette generator →

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