#502B60#502B60

#502B60 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.1% C 0.097 H 314.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#502B60
RGBrgb(80, 43, 96)
HSLhsl(282, 38%, 27%)
HSVhsv(282, 55%, 38%)
CMYKcmyk(16.7%, 55.2%, 0%, 62.4%)
CIE-LABlab(24.57, 27.30, -24.75)
CIE-LCHlch(24.57, 36.85, 317.80°)
OKLaboklab(36.11% 0.0684 -0.069)
OKLCHoklch(36.11% 0.097 314.8)
XYZxyz(6.2831, 4.2779, 11.5588)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502B60 #3B602B
analogous
#362B60 #502B60 #602B55
triadic
#502B60 #60502B #2B6050
tetradic
#502B60 #60362B #3B602B #2B5560
square
#502B60 #60362B #3B602B #2B5560
split-complementary
#502B60 #55602B #2B6036
monochromatic
#120915 #2D1836 #502B60 #733E8A #9553B2

Accessibility & contrast

On white

11.32
#502B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#502B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502B60
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502B60#FFFFFF#000000##FFFFFF
##502B601.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3862
Deuteranopia (green-blind)
#2A3B5F
Tritanopia (blue-blind)
#4F3341
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #502b60;
/* rgb */ color: rgb(80, 43, 96);
/* oklch */ color: oklch(36.1% 0.097 314.8);
Tailwind
colors: {
  custom: {
    50: '#83668d',
    500: '#502b60',
    950: '#000000',
  },
}
SCSS
$custom: #502b60;
$custom-light: #83668d;
$custom-dark: #000000;
JSON
{
  "hex": "#502b60",
  "rgb": {
    "r": 80,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 281.887,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36113,
    "c": 0.09712,
    "h": 314.8
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#502B60
secondary
#679255
accent
#CE5A7D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #502B60

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

Preview Lab → · Contrast checker → · Palette generator →

#502B60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva