#502153#502153

#502153 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.100 H 325.2°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#502153
RGBrgb(80, 33, 83)
HSLhsl(296, 43%, 23%)
HSVhsv(296, 60%, 33%)
CMYKcmyk(3.6%, 60.2%, 0%, 67.5%)
CIE-LABlab(21.65, 30.11, -20.76)
CIE-LCHlch(21.65, 36.57, 325.41°)
OKLaboklab(33.72% 0.0824 -0.0573)
OKLCHoklch(33.72% 0.1 325.2)
XYZxyz(5.4133, 3.4180, 8.5565)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502153 #245321
analogous
#372153 #502153 #53213D
triadic
#502153 #535021 #215350
tetradic
#502153 #533721 #245321 #213D53
square
#502153 #533721 #245321 #213D53
split-complementary
#502153 #3D5321 #215337
monochromatic
#150916 #261027 #502153 #7A327F #A444AB

Accessibility & contrast

On white

12.47
#502153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#502153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502153
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502153#FFFFFF#000000##FFFFFF
##5021531.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3055
Deuteranopia (green-blind)
#2A3652
Tritanopia (blue-blind)
#522736
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #502153;
/* rgb */ color: rgb(80, 33, 83);
/* oklch */ color: oklch(33.7% 0.100 325.2);
Tailwind
colors: {
  custom: {
    50: '#835f83',
    500: '#502153',
    950: '#000000',
  },
}
SCSS
$custom: #502153;
$custom-light: #835f83;
$custom-dark: #000000;
JSON
{
  "hex": "#502153",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 296.4,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.10037,
    "h": 325.2
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#502153
secondary
#4C8749
accent
#D3555C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #502153

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

Preview Lab → · Contrast checker → · Palette generator →

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