#52405E#52405E

#52405E is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.3% C 0.054 H 311.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#52405E
RGBrgb(82, 64, 94)
HSLhsl(276, 19%, 31%)
HSVhsv(276, 32%, 37%)
CMYKcmyk(12.8%, 31.9%, 0%, 63.1%)
CIE-LABlab(30.08, 14.23, -14.84)
CIE-LCHlch(30.08, 20.56, 313.79°)
OKLaboklab(40.28% 0.0357 -0.0406)
OKLCHoklch(40.28% 0.054 311.4)
XYZxyz(7.3331, 6.2689, 11.4112)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52405E #4C5E40
analogous
#43405E #52405E #5E405B
triadic
#52405E #5E5240 #405E52
tetradic
#52405E #5E4340 #4C5E40 #405B5E
square
#52405E #5E4340 #4C5E40 #405B5E
split-complementary
#52405E #5B5E40 #405E43
monochromatic
#120E15 #32273A #52405E #725982 #9176A2

Accessibility & contrast

On white

9.32
#52405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#52405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52405E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52405E#FFFFFF#000000##FFFFFF
##52405E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#51444B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #52405e;
/* rgb */ color: rgb(82, 64, 94);
/* oklch */ color: oklch(40.3% 0.054 311.4);
Tailwind
colors: {
  custom: {
    50: '#83758b',
    500: '#52405e',
    950: '#000000',
  },
}
SCSS
$custom: #52405e;
$custom-light: #83758b;
$custom-dark: #000000;
JSON
{
  "hex": "#52405e",
  "rgb": {
    "r": 82,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 276,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.05411,
    "h": 311.4
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#52405E
secondary
#7A8D6C
accent
#BC6C8C
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #52405E

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

Preview Lab → · Contrast checker → · Palette generator →

#52405E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva