#502E73#502E73

#502E73 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.9% C 0.116 H 304.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#502E73
RGBrgb(80, 46, 115)
HSLhsl(270, 43%, 32%)
HSVhsv(270, 60%, 45%)
CMYKcmyk(30.4%, 60%, 0%, 54.9%)
CIE-LABlab(26.44, 30.37, -34.04)
CIE-LCHlch(26.44, 45.62, 311.74°)
OKLaboklab(37.87% 0.0652 -0.0961)
OKLCHoklch(37.87% 0.116 304.1)
XYZxyz(7.3791, 4.8973, 16.7729)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502E73 #51732E
analogous
#2E2F73 #502E73 #732E73
triadic
#502E73 #73502E #2E7350
tetradic
#502E73 #732E2F #51732E #2E7373
square
#502E73 #732E2F #51732E #2E7373
split-complementary
#502E73 #73732E #2F732E
monochromatic
#130B1C #321D47 #502E73 #6E3F9F #8D5DBE

Accessibility & contrast

On white

10.61
#502E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#502E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502E73
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502E73#FFFFFF#000000##FFFFFF
##502E731.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#1F3F71
Tritanopia (blue-blind)
#4A3B4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #502e73;
/* rgb */ color: rgb(80, 46, 115);
/* oklch */ color: oklch(37.9% 0.116 304.1);
Tailwind
colors: {
  custom: {
    50: '#84689c',
    500: '#502e73',
    950: '#000000',
  },
}
SCSS
$custom: #502e73;
$custom-light: #84689c;
$custom-dark: #000000;
JSON
{
  "hex": "#502e73",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 269.565,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.11611,
    "h": 304.1
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#502E73
secondary
#7FA458
accent
#D35595
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #502E73

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

Preview Lab → · Contrast checker → · Palette generator →

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