#523254#523254

#523254 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.0% C 0.070 H 324.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#523254
RGBrgb(82, 50, 84)
HSLhsl(296, 25%, 26%)
HSVhsv(296, 40%, 33%)
CMYKcmyk(2.4%, 40.5%, 0%, 67.1%)
CIE-LABlab(25.91, 20.86, -14.76)
CIE-LCHlch(25.91, 25.55, 324.71°)
OKLaboklab(36.97% 0.0571 -0.0403)
OKLCHoklch(36.97% 0.07 324.8)
XYZxyz(6.2204, 4.7154, 8.9683)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523254 #345432
analogous
#413254 #523254 #543245
triadic
#523254 #545232 #325452
tetradic
#523254 #544132 #345432 #324554
square
#523254 #544132 #345432 #324554
split-complementary
#523254 #455432 #325441
monochromatic
#130B13 #2D1B2E #523254 #77497A #9D60A0

Accessibility & contrast

On white

10.81
#523254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#523254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523254
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523254#FFFFFF#000000##FFFFFF
##5232541.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B55
Deuteranopia (green-blind)
#373F53
Tritanopia (blue-blind)
#54353F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #523254;
/* rgb */ color: rgb(82, 50, 84);
/* oklch */ color: oklch(37.0% 0.070 324.8);
Tailwind
colors: {
  custom: {
    50: '#836a84',
    500: '#523254',
    950: '#000000',
  },
}
SCSS
$custom: #523254;
$custom-light: #836a84;
$custom-dark: #000000;
JSON
{
  "hex": "#523254",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 296.471,
    "s": 25.373,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.06987,
    "h": 324.8
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#523254
secondary
#5F855D
accent
#C2666B
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #523254

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

Preview Lab → · Contrast checker → · Palette generator →

#523254 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva