#532285#532285

#532285 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.156 H 301.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#532285
RGBrgb(83, 34, 133)
HSLhsl(270, 59%, 33%)
HSVhsv(270, 74%, 52%)
CMYKcmyk(37.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(25.79, 42.33, -46.44)
CIE-LCHlch(25.79, 62.84, 312.34°)
OKLaboklab(37.92% 0.0824 -0.1324)
OKLCHoklch(37.92% 0.156 301.9)
XYZxyz(8.3719, 4.6765, 22.6473)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532285 #548522
analogous
#222385 #532285 #842285
triadic
#532285 #855322 #228553
tetradic
#532285 #852223 #548522 #228584
square
#532285 #852223 #548522 #228584
split-complementary
#532285 #858422 #238522
monochromatic
#160924 #351654 #532285 #712EB6 #904FD2

Accessibility & contrast

On white

10.85
#532285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#532285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532285
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532285#FFFFFF#000000##FFFFFF
##5322851.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#483A51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532285;
/* rgb */ color: rgb(83, 34, 133);
/* oklch */ color: oklch(37.9% 0.156 301.9);
Tailwind
colors: {
  custom: {
    50: '#8862a9',
    500: '#532285',
    950: '#000000',
  },
}
SCSS
$custom: #532285;
$custom-light: #8862a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532285",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 269.697,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.15595,
    "h": 301.9
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#532285
secondary
#82B64D
accent
#E24595
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532285

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

Preview Lab → · Contrast checker → · Palette generator →

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