#532155#532155

#532155 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.3% C 0.104 H 326.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#532155
RGBrgb(83, 33, 85)
HSLhsl(298, 44%, 23%)
HSVhsv(298, 61%, 33%)
CMYKcmyk(2.4%, 61.2%, 0%, 66.7%)
CIE-LABlab(22.24, 31.46, -21.13)
CIE-LCHlch(22.24, 37.89, 326.11°)
OKLaboklab(34.29% 0.0866 -0.0583)
OKLCHoklch(34.29% 0.104 326)
XYZxyz(5.7507, 3.5829, 8.9812)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532155 #235521
analogous
#392155 #532155 #55213D
triadic
#532155 #555321 #215553
tetradic
#532155 #553921 #235521 #213D55
square
#532155 #553921 #235521 #213D55
split-complementary
#532155 #3D5521 #215539
monochromatic
#160916 #281029 #532155 #7E3281 #A943AD

Accessibility & contrast

On white

12.23
#532155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#532155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532155
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532155#FFFFFF#000000##FFFFFF
##5321551.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#2B3754
Tritanopia (blue-blind)
#552837
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #532155;
/* rgb */ color: rgb(83, 33, 85);
/* oklch */ color: oklch(34.3% 0.104 326.0);
Tailwind
colors: {
  custom: {
    50: '#855f85',
    500: '#532155',
    950: '#000000',
  },
}
SCSS
$custom: #532155;
$custom-light: #855f85;
$custom-dark: #000000;
JSON
{
  "hex": "#532155",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 297.692,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34291,
    "c": 0.10441,
    "h": 326
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#532155
secondary
#4B8949
accent
#D45459
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #532155

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

Preview Lab → · Contrast checker → · Palette generator →

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