#52275B#52275B

#52275B is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.4% C 0.100 H 320.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#52275B
RGBrgb(82, 39, 91)
HSLhsl(290, 40%, 25%)
HSVhsv(290, 57%, 36%)
CMYKcmyk(9.9%, 57.1%, 0%, 64.3%)
CIE-LABlab(23.67, 29.11, -22.86)
CIE-LCHlch(23.67, 37.01, 321.85°)
OKLaboklab(35.42% 0.0768 -0.0634)
OKLCHoklch(35.42% 0.1 320.5)
XYZxyz(6.0933, 4.0005, 10.3467)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52275B #305B27
analogous
#38275B #52275B #5B274A
triadic
#52275B #5B5227 #275B52
tetradic
#52275B #5B3827 #305B27 #274A5B
square
#52275B #5B3827 #305B27 #274A5B
split-complementary
#52275B #4A5B27 #275B38
monochromatic
#130915 #2B1530 #52275B #793986 #9F4CB1

Accessibility & contrast

On white

11.67
#52275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#52275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52275B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52275B#FFFFFF#000000##FFFFFF
##52275B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52275b;
/* rgb */ color: rgb(82, 39, 91);
/* oklch */ color: oklch(35.4% 0.100 320.5);
Tailwind
colors: {
  custom: {
    50: '#846389',
    500: '#52275b',
    950: '#000000',
  },
}
SCSS
$custom: #52275b;
$custom-light: #846389;
$custom-dark: #000000;
JSON
{
  "hex": "#52275b",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 289.615,
    "s": 40,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3542,
    "c": 0.09959,
    "h": 320.5
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#52275B
secondary
#5B8E50
accent
#D0586D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #52275B

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

Preview Lab → · Contrast checker → · Palette generator →

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