#532288#532288

#532288 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.159 H 300.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#532288
RGBrgb(83, 34, 136)
HSLhsl(269, 60%, 33%)
HSVhsv(269, 75%, 53%)
CMYKcmyk(39%, 75%, 0%, 46.7%)
CIE-LABlab(26.04, 43.10, -47.91)
CIE-LCHlch(26.04, 64.45, 311.97°)
OKLaboklab(38.17% 0.0818 -0.1367)
OKLCHoklch(38.17% 0.159 300.9)
XYZxyz(8.5822, 4.7606, 23.7545)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532288 #578822
analogous
#222488 #532288 #862288
triadic
#532288 #885322 #228853
tetradic
#532288 #882224 #578822 #228886
square
#532288 #882224 #578822 #228886
split-complementary
#532288 #888622 #248822
monochromatic
#170A26 #351657 #532288 #712EB9 #9051D3

Accessibility & contrast

On white

10.76
#532288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#532288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532288
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532288#FFFFFF#000000##FFFFFF
##5322881.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#473B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532288;
/* rgb */ color: rgb(83, 34, 136);
/* oklch */ color: oklch(38.2% 0.159 300.9);
Tailwind
colors: {
  custom: {
    50: '#8962ab',
    500: '#532288',
    950: '#000000',
  },
}
SCSS
$custom: #532288;
$custom-light: #8962ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532288",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 268.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.15931,
    "h": 300.9
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#532288
secondary
#85B74F
accent
#E34597
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532288

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

Preview Lab → · Contrast checker → · Palette generator →

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