#52274E#52274E

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

Color values

HEX#52274E
RGBrgb(82, 39, 78)
HSLhsl(306, 36%, 24%)
HSVhsv(306, 52%, 32%)
CMYKcmyk(0%, 52.4%, 4.9%, 67.8%)
CIE-LABlab(22.98, 26.30, -15.30)
CIE-LCHlch(22.98, 30.43, 329.82°)
OKLaboklab(34.68% 0.0745 -0.0417)
OKLCHoklch(34.68% 0.085 330.8)
XYZxyz(5.5803, 3.7953, 7.6449)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52274E #27522B
analogous
#402752 #52274E #522738
triadic
#52274E #4E5227 #274E52
tetradic
#52274E #524027 #27522B #273852
square
#52274E #524027 #27522B #273852
split-complementary
#52274E #385227 #275240
monochromatic
#150A14 #291327 #52274E #7B3B75 #A54E9D

Accessibility & contrast

On white

11.94
#52274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52274E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52274E#FFFFFF#000000##FFFFFF
##52274E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#552A37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #52274e;
/* rgb */ color: rgb(82, 39, 78);
/* oklch */ color: oklch(34.7% 0.085 330.8);
Tailwind
colors: {
  custom: {
    50: '#84637f',
    500: '#52274e',
    950: '#000000',
  },
}
SCSS
$custom: #52274e;
$custom-light: #84637f;
$custom-dark: #000000;
JSON
{
  "hex": "#52274e",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 305.581,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.08538,
    "h": 330.8
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#52274E
secondary
#508555
accent
#CC675C
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52274E

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

Preview Lab → · Contrast checker → · Palette generator →

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