#52265B#52265B

#52265B is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.3% C 0.101 H 320.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#52265B
RGBrgb(82, 38, 91)
HSLhsl(290, 41%, 25%)
HSVhsv(290, 58%, 36%)
CMYKcmyk(9.9%, 58.2%, 0%, 64.3%)
CIE-LABlab(23.46, 29.68, -23.20)
CIE-LCHlch(23.46, 37.67, 321.98°)
OKLaboklab(35.26% 0.0784 -0.0644)
OKLCHoklch(35.26% 0.101 320.6)
XYZxyz(6.0609, 3.9357, 10.3359)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52265B #2F5B26
analogous
#37265B #52265B #5B2649
triadic
#52265B #5B5226 #265B52
tetradic
#52265B #5B3726 #2F5B26 #26495B
square
#52265B #5B3726 #2F5B26 #26495B
split-complementary
#52265B #495B26 #265B37
monochromatic
#130916 #2B1430 #52265B #793886 #A04AB1

Accessibility & contrast

On white

11.75
#52265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52265B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52265B#FFFFFF#000000##FFFFFF
##52265B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355D
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#532E3C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #52265b;
/* rgb */ color: rgb(82, 38, 91);
/* oklch */ color: oklch(35.3% 0.101 320.6);
Tailwind
colors: {
  custom: {
    50: '#846389',
    500: '#52265b',
    950: '#000000',
  },
}
SCSS
$custom: #52265b;
$custom-light: #846389;
$custom-dark: #000000;
JSON
{
  "hex": "#52265b",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 289.811,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35261,
    "c": 0.10141,
    "h": 320.6
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#52265B
secondary
#598E4F
accent
#D1576C
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #52265B

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

Preview Lab → · Contrast checker → · Palette generator →

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