#52275E#52275E

#52275E is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.6% C 0.103 H 318.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#52275E
RGBrgb(82, 39, 94)
HSLhsl(287, 41%, 26%)
HSVhsv(287, 59%, 37%)
CMYKcmyk(12.8%, 58.5%, 0%, 63.1%)
CIE-LABlab(23.85, 29.79, -24.56)
CIE-LCHlch(23.85, 38.61, 320.49°)
OKLaboklab(35.6% 0.0771 -0.0683)
OKLCHoklch(35.6% 0.103 318.5)
XYZxyz(6.2253, 4.0533, 11.0419)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52275E #335E27
analogous
#36275E #52275E #5E274E
triadic
#52275E #5E5227 #275E52
tetradic
#52275E #5E3627 #335E27 #274E5E
square
#52275E #5E3627 #335E27 #274E5E
split-complementary
#52275E #4E5E27 #275E36
monochromatic
#130916 #2C1533 #52275E #783989 #9D4BB4

Accessibility & contrast

On white

11.60
#52275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52275E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52275E#FFFFFF#000000##FFFFFF
##52275E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52275e;
/* rgb */ color: rgb(82, 39, 94);
/* oklch */ color: oklch(35.6% 0.103 318.5);
Tailwind
colors: {
  custom: {
    50: '#84638c',
    500: '#52275e',
    950: '#000000',
  },
}
SCSS
$custom: #52275e;
$custom-light: #84638c;
$custom-dark: #000000;
JSON
{
  "hex": "#52275e",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 286.909,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35604,
    "c": 0.10305,
    "h": 318.5
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#52275E
secondary
#5E9150
accent
#D15771
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #52275E

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

Preview Lab → · Contrast checker → · Palette generator →

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