#502D67#502D67

#502D67 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.102 H 310.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#502D67
RGBrgb(80, 45, 103)
HSLhsl(276, 39%, 29%)
HSVhsv(276, 56%, 40%)
CMYKcmyk(22.3%, 56.3%, 0%, 59.6%)
CIE-LABlab(25.45, 27.84, -27.92)
CIE-LCHlch(25.45, 39.42, 314.92°)
OKLaboklab(36.9% 0.066 -0.0782)
OKLCHoklch(36.9% 0.102 310.2)
XYZxyz(6.6944, 4.5616, 13.3572)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502D67 #44672D
analogous
#332D67 #502D67 #672D61
triadic
#502D67 #67502D #2D6750
tetradic
#502D67 #67332D #44672D #2D6167
square
#502D67 #67332D #44672D #2D6167
split-complementary
#502D67 #61672D #2D6733
monochromatic
#110915 #2F1A3C #502D67 #714092 #9158B6

Accessibility & contrast

On white

10.98
#502D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#502D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502D67
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502D67#FFFFFF#000000##FFFFFF
##502D671.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#283D66
Tritanopia (blue-blind)
#4D3745
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #502d67;
/* rgb */ color: rgb(80, 45, 103);
/* oklch */ color: oklch(36.9% 0.102 310.2);
Tailwind
colors: {
  custom: {
    50: '#836793',
    500: '#502d67',
    950: '#000000',
  },
}
SCSS
$custom: #502d67;
$custom-light: #836793;
$custom-dark: #000000;
JSON
{
  "hex": "#502d67",
  "rgb": {
    "r": 80,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 276.207,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.10233,
    "h": 310.2
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#502D67
secondary
#719957
accent
#CF5988
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #502D67

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

Preview Lab → · Contrast checker → · Palette generator →

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