#52285A#52285A

#52285A is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.5% C 0.097 H 321.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#52285A
RGBrgb(82, 40, 90)
HSLhsl(290, 38%, 25%)
HSVhsv(290, 56%, 35%)
CMYKcmyk(8.9%, 55.6%, 0%, 64.7%)
CIE-LABlab(23.84, 28.30, -21.95)
CIE-LCHlch(23.84, 35.82, 322.21°)
OKLaboklab(35.52% 0.0751 -0.0608)
OKLCHoklch(35.52% 0.097 321)
XYZxyz(6.0837, 4.0499, 10.1321)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52285A #305A28
analogous
#39285A #52285A #5A2849
triadic
#52285A #5A5228 #285A52
tetradic
#52285A #5A3928 #305A28 #28495A
square
#52285A #5A3928 #305A28 #28495A
split-complementary
#52285A #495A28 #285A39
monochromatic
#130915 #2B1530 #52285A #793B84 #9F4EAF

Accessibility & contrast

On white

11.60
#52285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#52285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52285A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52285A#FFFFFF#000000##FFFFFF
##52285A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20365C
Deuteranopia (green-blind)
#2D3A59
Tritanopia (blue-blind)
#532F3D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #52285a;
/* rgb */ color: rgb(82, 40, 90);
/* oklch */ color: oklch(35.5% 0.097 321.0);
Tailwind
colors: {
  custom: {
    50: '#846489',
    500: '#52285a',
    950: '#000000',
  },
}
SCSS
$custom: #52285a;
$custom-light: #846489;
$custom-dark: #000000;
JSON
{
  "hex": "#52285a",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 290.4,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35521,
    "c": 0.09661,
    "h": 321
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#52285A
secondary
#5B8D51
accent
#CE596C
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #52285A

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

Preview Lab → · Contrast checker → · Palette generator →

#52285A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva