#523456#523456

#523456 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.5% C 0.068 H 322.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#523456
RGBrgb(82, 52, 86)
HSLhsl(293, 25%, 27%)
HSVhsv(293, 40%, 34%)
CMYKcmyk(4.7%, 39.5%, 0%, 66.3%)
CIE-LABlab(26.51, 20.04, -15.15)
CIE-LCHlch(26.51, 25.12, 322.92°)
OKLaboklab(37.45% 0.0542 -0.0414)
OKLCHoklch(37.45% 0.068 322.6)
XYZxyz(6.3872, 4.9219, 9.4159)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523456 #385634
analogous
#413456 #523456 #563449
triadic
#523456 #565234 #345652
tetradic
#523456 #564134 #385634 #344956
square
#523456 #564134 #385634 #344956
split-complementary
#523456 #495634 #345641
monochromatic
#120C13 #2E1D30 #523456 #764B7C #9A63A1

Accessibility & contrast

On white

10.58
#523456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#523456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523456
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523456#FFFFFF#000000##FFFFFF
##5234561.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#384055
Tritanopia (blue-blind)
#533841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #523456;
/* rgb */ color: rgb(82, 52, 86);
/* oklch */ color: oklch(37.5% 0.068 322.6);
Tailwind
colors: {
  custom: {
    50: '#836c85',
    500: '#523456',
    950: '#000000',
  },
}
SCSS
$custom: #523456;
$custom-light: #836c85;
$custom-dark: #000000;
JSON
{
  "hex": "#523456",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 86
  },
  "hsl": {
    "h": 292.941,
    "s": 24.638,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.06817,
    "h": 322.6
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#523456
secondary
#64875F
accent
#C16771
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B070B
muted
#7C7A7C

Preview Lab

Preview with #523456

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

Preview Lab → · Contrast checker → · Palette generator →

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