#52295C#52295C

#52295C is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.097 H 319.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#52295C
RGBrgb(82, 41, 92)
HSLhsl(288, 38%, 26%)
HSVhsv(288, 55%, 36%)
CMYKcmyk(10.9%, 55.4%, 0%, 63.9%)
CIE-LABlab(24.17, 28.17, -22.74)
CIE-LCHlch(24.17, 36.20, 321.09°)
OKLaboklab(35.8% 0.0738 -0.0631)
OKLCHoklch(35.8% 0.097 319.5)
XYZxyz(6.2041, 4.1527, 10.5979)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52295C #335C29
analogous
#38295C #52295C #5C294C
triadic
#52295C #5C5229 #295C52
tetradic
#52295C #5C3829 #335C29 #294C5C
square
#52295C #5C3829 #335C29 #294C5C
split-complementary
#52295C #4C5C29 #295C38
monochromatic
#130915 #2C1632 #52295C #783C86 #9D4FB1

Accessibility & contrast

On white

11.47
#52295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#52295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52295C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52295C#FFFFFF#000000##FFFFFF
##52295C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375E
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#52303E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #52295c;
/* rgb */ color: rgb(82, 41, 92);
/* oklch */ color: oklch(35.8% 0.097 319.5);
Tailwind
colors: {
  custom: {
    50: '#84658a',
    500: '#52295c',
    950: '#000000',
  },
}
SCSS
$custom: #52295c;
$custom-light: #84658a;
$custom-dark: #000000;
JSON
{
  "hex": "#52295c",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 288.235,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35804,
    "c": 0.09708,
    "h": 319.5
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#52295C
secondary
#5E8F52
accent
#CE5A70
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #52295C

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

Preview Lab → · Contrast checker → · Palette generator →

#52295C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva