#52295B#52295B

#52295B is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.7% C 0.096 H 320.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#52295B
RGBrgb(82, 41, 91)
HSLhsl(289, 38%, 26%)
HSVhsv(289, 55%, 36%)
CMYKcmyk(9.9%, 54.9%, 0%, 64.3%)
CIE-LABlab(24.11, 27.94, -22.17)
CIE-LCHlch(24.11, 35.67, 321.57°)
OKLaboklab(35.74% 0.0737 -0.0614)
OKLCHoklch(35.74% 0.096 320.2)
XYZxyz(6.1607, 4.1353, 10.3692)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52295B #325B29
analogous
#39295B #52295B #5B294B
triadic
#52295B #5B5229 #295B52
tetradic
#52295B #5B3929 #325B29 #294B5B
square
#52295B #5B3929 #325B29 #294B5B
split-complementary
#52295B #4B5B29 #295B39
monochromatic
#130A15 #2C1631 #52295B #783C85 #9E4FAF

Accessibility & contrast

On white

11.49
#52295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#52295B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52295B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52295B#FFFFFF#000000##FFFFFF
##52295B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20365D
Deuteranopia (green-blind)
#2D3B5A
Tritanopia (blue-blind)
#53303E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #52295b;
/* rgb */ color: rgb(82, 41, 91);
/* oklch */ color: oklch(35.7% 0.096 320.2);
Tailwind
colors: {
  custom: {
    50: '#846489',
    500: '#52295b',
    950: '#000000',
  },
}
SCSS
$custom: #52295b;
$custom-light: #846489;
$custom-dark: #000000;
JSON
{
  "hex": "#52295b",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 289.2,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35745,
    "c": 0.09591,
    "h": 320.2
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#52295B
secondary
#5D8E52
accent
#CE5A6F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #52295B

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

Preview Lab → · Contrast checker → · Palette generator →

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