#502249#502249

#502249 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.3% C 0.088 H 333.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#502249
RGBrgb(80, 34, 73)
HSLhsl(309, 40%, 22%)
HSVhsv(309, 58%, 31%)
CMYKcmyk(0%, 57.5%, 8.8%, 68.6%)
CIE-LABlab(21.32, 27.50, -14.52)
CIE-LCHlch(21.32, 31.10, 332.17°)
OKLaboklab(33.31% 0.0791 -0.0395)
OKLCHoklch(33.31% 0.088 333.5)
XYZxyz(5.0829, 3.3309, 6.6772)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502249 #225029
analogous
#402250 #502249 #502232
triadic
#502249 #495022 #224950
tetradic
#502249 #504022 #225029 #223250
square
#502249 #504022 #225029 #223250
split-complementary
#502249 #325022 #225040
monochromatic
#150914 #251022 #502249 #7B3470 #A64797

Accessibility & contrast

On white

12.60
#502249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#502249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502249
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502249#FFFFFF#000000##FFFFFF
##5022491.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4A
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#542532
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #502249;
/* rgb */ color: rgb(80, 34, 73);
/* oklch */ color: oklch(33.3% 0.088 333.5);
Tailwind
colors: {
  custom: {
    50: '#835f7c',
    500: '#502249',
    950: '#000000',
  },
}
SCSS
$custom: #502249;
$custom-light: #835f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#502249",
  "rgb": {
    "r": 80,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 309.13,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.08836,
    "h": 333.5
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#502249
secondary
#4A8453
accent
#D06A58
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #502249

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

Preview Lab → · Contrast checker → · Palette generator →

#502249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva