#52345F#52345F

#52345F is a dark, moderate purple. Relative luminance 0.051; OKLCH L 37.9% C 0.080 H 315.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#52345F
RGBrgb(82, 52, 95)
HSLhsl(282, 29%, 29%)
HSVhsv(282, 45%, 37%)
CMYKcmyk(13.7%, 45.3%, 0%, 62.7%)
CIE-LABlab(26.95, 22.16, -20.34)
CIE-LCHlch(26.95, 30.08, 317.45°)
OKLaboklab(37.93% 0.0564 -0.0562)
OKLCHoklch(37.93% 0.08 315.1)
XYZxyz(6.7729, 5.0762, 11.4473)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52345F #415F34
analogous
#3D345F #52345F #5F3457
triadic
#52345F #5F5234 #345F52
tetradic
#52345F #5F3D34 #415F34 #34575F
square
#52345F #5F3D34 #415F34 #34575F
split-complementary
#52345F #575F34 #345F3D
monochromatic
#110B14 #301E37 #52345F #744A87 #9564AA

Accessibility & contrast

On white

10.42
#52345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#52345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52345F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52345F#FFFFFF#000000##FFFFFF
##52345F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#34415E
Tritanopia (blue-blind)
#513A45
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #52345f;
/* rgb */ color: rgb(82, 52, 95);
/* oklch */ color: oklch(37.9% 0.080 315.1);
Tailwind
colors: {
  custom: {
    50: '#836c8c',
    500: '#52345f',
    950: '#000000',
  },
}
SCSS
$custom: #52345f;
$custom-light: #836c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#52345f",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 281.86,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.07963,
    "h": 315.1
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#52345F
secondary
#6E905F
accent
#C66280
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B070C
muted
#7C7A7D

Preview Lab

Preview with #52345F

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

Preview Lab → · Contrast checker → · Palette generator →

#52345F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva