#52385A#52385A

#52385A is a dark, moderate purple. Relative luminance 0.054; OKLCH L 38.4% C 0.065 H 318.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#52385A
RGBrgb(82, 56, 90)
HSLhsl(286, 23%, 29%)
HSVhsv(286, 38%, 35%)
CMYKcmyk(8.9%, 37.8%, 0%, 64.7%)
CIE-LABlab(27.74, 18.42, -15.87)
CIE-LCHlch(27.74, 24.31, 319.26°)
OKLaboklab(38.44% 0.0483 -0.0435)
OKLCHoklch(38.44% 0.065 318)
XYZxyz(6.7391, 5.3605, 10.3506)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52385A #405A38
analogous
#41385A #52385A #5A3851
triadic
#52385A #5A5238 #385A52
tetradic
#52385A #5A4138 #405A38 #38515A
square
#52385A #5A4138 #405A38 #38515A
split-complementary
#52385A #515A38 #385A41
monochromatic
#110C13 #302134 #52385A #744F80 #956AA2

Accessibility & contrast

On white

10.14
#52385A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#52385A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52385A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52385A#FFFFFF#000000##FFFFFF
##52385A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405B
Deuteranopia (green-blind)
#3A4259
Tritanopia (blue-blind)
#523C45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52385a;
/* rgb */ color: rgb(82, 56, 90);
/* oklch */ color: oklch(38.4% 0.065 318.0);
Tailwind
colors: {
  custom: {
    50: '#836f88',
    500: '#52385a',
    950: '#000000',
  },
}
SCSS
$custom: #52385a;
$custom-light: #836f88;
$custom-dark: #000000;
JSON
{
  "hex": "#52385a",
  "rgb": {
    "r": 82,
    "g": 56,
    "b": 90
  },
  "hsl": {
    "h": 285.882,
    "s": 23.288,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.065,
    "h": 318
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#52385A
secondary
#6D8A64
accent
#C0687D
background
#F8F6F8
surface
#EFECF0
border
#CAC7CB
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #52385A

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

Preview Lab → · Contrast checker → · Palette generator →

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