#52295D#52295D

#52295D is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.9% C 0.098 H 318.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#52295D
RGBrgb(82, 41, 93)
HSLhsl(287, 39%, 26%)
HSVhsv(287, 56%, 36%)
CMYKcmyk(11.8%, 55.9%, 0%, 63.5%)
CIE-LABlab(24.23, 28.40, -23.31)
CIE-LCHlch(24.23, 36.74, 320.63°)
OKLaboklab(35.87% 0.0739 -0.0647)
OKLCHoklch(35.87% 0.098 318.8)
XYZxyz(6.2481, 4.1703, 10.8296)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52295D #345D29
analogous
#38295D #52295D #5D294E
triadic
#52295D #5D5229 #295D52
tetradic
#52295D #5D3829 #345D29 #294E5D
square
#52295D #5D3829 #345D29 #294E5D
split-complementary
#52295D #4E5D29 #295D38
monochromatic
#130915 #2D1633 #52295D #773C87 #9D4FB1

Accessibility & contrast

On white

11.45
#52295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52295D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52295D#FFFFFF#000000##FFFFFF
##52295D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F375F
Deuteranopia (green-blind)
#2C3B5C
Tritanopia (blue-blind)
#52313F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #52295d;
/* rgb */ color: rgb(82, 41, 93);
/* oklch */ color: oklch(35.9% 0.098 318.8);
Tailwind
colors: {
  custom: {
    50: '#84658b',
    500: '#52295d',
    950: '#000000',
  },
}
SCSS
$custom: #52295d;
$custom-light: #84658b;
$custom-dark: #000000;
JSON
{
  "hex": "#52295d",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 287.308,
    "s": 38.806,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.09825,
    "h": 318.8
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#52295D
secondary
#5F9052
accent
#CF5972
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #52295D

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

Preview Lab → · Contrast checker → · Palette generator →

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