#52265D#52265D

#52265D is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.4% C 0.104 H 319.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#52265D
RGBrgb(82, 38, 93)
HSLhsl(288, 42%, 26%)
HSVhsv(288, 59%, 36%)
CMYKcmyk(11.8%, 59.1%, 0%, 63.5%)
CIE-LABlab(23.57, 30.14, -24.34)
CIE-LCHlch(23.57, 38.74, 321.07°)
OKLaboklab(35.39% 0.0786 -0.0677)
OKLCHoklch(35.39% 0.104 319.3)
XYZxyz(6.1483, 3.9706, 10.7963)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52265D #315D26
analogous
#36265D #52265D #5D264C
triadic
#52265D #5D5226 #265D52
tetradic
#52265D #5D3626 #315D26 #264C5D
square
#52265D #5D3626 #315D26 #264C5D
split-complementary
#52265D #4C5D26 #265D36
monochromatic
#130916 #2C1432 #52265D #783888 #9F4AB4

Accessibility & contrast

On white

11.71
#52265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#52265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52265D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52265D#FFFFFF#000000##FFFFFF
##52265D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#2A3A5C
Tritanopia (blue-blind)
#522E3D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52265d;
/* rgb */ color: rgb(82, 38, 93);
/* oklch */ color: oklch(35.4% 0.104 319.3);
Tailwind
colors: {
  custom: {
    50: '#84638b',
    500: '#52265d',
    950: '#000000',
  },
}
SCSS
$custom: #52265d;
$custom-light: #84638b;
$custom-dark: #000000;
JSON
{
  "hex": "#52265d",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 288,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.10369,
    "h": 319.3
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#52265D
secondary
#5C904F
accent
#D2566F
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #52265D

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

Preview Lab → · Contrast checker → · Palette generator →

#52265D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva