#52274F#52274F

#52274F is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.086 H 329.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#52274F
RGBrgb(82, 39, 79)
HSLhsl(304, 36%, 24%)
HSVhsv(304, 52%, 32%)
CMYKcmyk(0%, 52.4%, 3.7%, 67.8%)
CIE-LABlab(23.03, 26.51, -15.89)
CIE-LCHlch(23.03, 30.91, 329.06°)
OKLaboklab(34.74% 0.0748 -0.0434)
OKLCHoklch(34.74% 0.086 329.9)
XYZxyz(5.6164, 3.8097, 7.8351)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52274F #27522A
analogous
#3F2752 #52274F #522739
triadic
#52274F #4F5227 #274F52
tetradic
#52274F #523F27 #27522A #273952
square
#52274F #523F27 #27522A #273952
split-complementary
#52274F #395227 #27523F
monochromatic
#150A14 #291327 #52274F #7B3B77 #A54E9F

Accessibility & contrast

On white

11.92
#52274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#52274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52274F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52274F#FFFFFF#000000##FFFFFF
##52274F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253350
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#552B37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #52274f;
/* rgb */ color: rgb(82, 39, 79);
/* oklch */ color: oklch(34.7% 0.086 329.9);
Tailwind
colors: {
  custom: {
    50: '#846380',
    500: '#52274f',
    950: '#000000',
  },
}
SCSS
$custom: #52274f;
$custom-light: #846380;
$custom-dark: #000000;
JSON
{
  "hex": "#52274f",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 304.186,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34736,
    "c": 0.08642,
    "h": 329.9
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#52274F
secondary
#508554
accent
#CC645C
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52274F

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

Preview Lab → · Contrast checker → · Palette generator →

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