#52295A#52295A

#52295A is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.7% C 0.095 H 320.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#52295A
RGBrgb(82, 41, 90)
HSLhsl(290, 37%, 26%)
HSVhsv(290, 54%, 35%)
CMYKcmyk(8.9%, 54.4%, 0%, 64.7%)
CIE-LABlab(24.06, 27.72, -21.60)
CIE-LCHlch(24.06, 35.14, 322.07°)
OKLaboklab(35.69% 0.0735 -0.0598)
OKLCHoklch(35.69% 0.095 320.9)
XYZxyz(6.1179, 4.1182, 10.1435)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52295A #315A29
analogous
#39295A #52295A #5A2949
triadic
#52295A #5A5229 #295A52
tetradic
#52295A #5A3929 #315A29 #29495A
square
#52295A #5A3929 #315A29 #29495A
split-complementary
#52295A #495A29 #295A39
monochromatic
#130A15 #2C1630 #52295A #783C84 #9F4FAE

Accessibility & contrast

On white

11.52
#52295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#52295A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52295A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52295A#FFFFFF#000000##FFFFFF
##52295A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365C
Deuteranopia (green-blind)
#2D3B59
Tritanopia (blue-blind)
#53303D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #52295a;
/* rgb */ color: rgb(82, 41, 90);
/* oklch */ color: oklch(35.7% 0.095 320.9);
Tailwind
colors: {
  custom: {
    50: '#846489',
    500: '#52295a',
    950: '#000000',
  },
}
SCSS
$custom: #52295a;
$custom-light: #846489;
$custom-dark: #000000;
JSON
{
  "hex": "#52295a",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 290.204,
    "s": 37.405,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.09474,
    "h": 320.9
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#52295A
secondary
#5C8D52
accent
#CD5A6D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #52295A

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

Preview Lab → · Contrast checker → · Palette generator →

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