#52275D#52275D

#52275D is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.5% C 0.102 H 319.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#52275D
RGBrgb(82, 39, 93)
HSLhsl(288, 41%, 26%)
HSVhsv(288, 58%, 36%)
CMYKcmyk(11.8%, 58.1%, 0%, 63.5%)
CIE-LABlab(23.79, 29.56, -24.00)
CIE-LCHlch(23.79, 38.08, 320.93°)
OKLaboklab(35.54% 0.077 -0.0667)
OKLCHoklch(35.54% 0.102 319.1)
XYZxyz(6.1807, 4.0354, 10.8071)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52275D #325D27
analogous
#37275D #52275D #5D274D
triadic
#52275D #5D5227 #275D52
tetradic
#52275D #5D3727 #325D27 #274D5D
square
#52275D #5D3727 #325D27 #274D5D
split-complementary
#52275D #4D5D27 #275D37
monochromatic
#130916 #2C1532 #52275D #783988 #9E4BB3

Accessibility & contrast

On white

11.62
#52275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#52275D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52275D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52275D#FFFFFF#000000##FFFFFF
##52275D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C365F
Deuteranopia (green-blind)
#2A3A5C
Tritanopia (blue-blind)
#522F3E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #52275d;
/* rgb */ color: rgb(82, 39, 93);
/* oklch */ color: oklch(35.5% 0.102 319.1);
Tailwind
colors: {
  custom: {
    50: '#84638b',
    500: '#52275d',
    950: '#000000',
  },
}
SCSS
$custom: #52275d;
$custom-light: #84638b;
$custom-dark: #000000;
JSON
{
  "hex": "#52275d",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 287.778,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.10189,
    "h": 319.1
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#52275D
secondary
#5D9050
accent
#D15770
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #52275D

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

Preview Lab → · Contrast checker → · Palette generator →

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