#52144F#52144F

#52144F is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.118 H 330.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#52144F
RGBrgb(82, 20, 79)
HSLhsl(303, 61%, 20%)
HSVhsv(303, 76%, 32%)
CMYKcmyk(0%, 75.6%, 3.7%, 67.8%)
CIE-LABlab(19.47, 36.20, -21.47)
CIE-LCHlch(19.47, 42.09, 329.33°)
OKLaboklab(32.13% 0.1025 -0.0592)
OKLCHoklch(32.13% 0.118 330)
XYZxyz(5.1411, 2.8590, 7.6767)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52144F #145217
analogous
#361452 #52144F #521430
triadic
#52144F #4F5214 #144F52
tetradic
#52144F #523614 #145217 #143052
square
#52144F #523614 #145217 #143052
split-complementary
#52144F #305214 #145236
monochromatic
#190618 #210820 #52144F #83207E #B42CAE

Accessibility & contrast

On white

13.36
#52144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#52144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52144F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52144F#FFFFFF#000000##FFFFFF
##52144F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#551C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #52144f;
/* rgb */ color: rgb(82, 20, 79);
/* oklch */ color: oklch(32.1% 0.118 330.0);
Tailwind
colors: {
  custom: {
    50: '#855880',
    500: '#52144f',
    950: '#000000',
  },
}
SCSS
$custom: #52144f;
$custom-light: #855880;
$custom-dark: #000000;
JSON
{
  "hex": "#52144f",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 302.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.11832,
    "h": 330
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#52144F
secondary
#388A3C
accent
#E44C44
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52144F

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

Preview Lab → · Contrast checker → · Palette generator →

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