#502E63#502E63

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

Color values

HEX#502E63
RGBrgb(80, 46, 99)
HSLhsl(278, 37%, 28%)
HSVhsv(278, 54%, 39%)
CMYKcmyk(19.2%, 53.5%, 0%, 61.2%)
CIE-LABlab(25.44, 26.22, -25.33)
CIE-LCHlch(25.44, 36.45, 315.99°)
OKLaboklab(36.82% 0.064 -0.0706)
OKLCHoklch(36.82% 0.095 312.2)
XYZxyz(6.5370, 4.5605, 12.3379)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502E63 #41632E
analogous
#352E63 #502E63 #632E5B
triadic
#502E63 #63502E #2E6350
tetradic
#502E63 #63352E #41632E #2E5B63
square
#502E63 #63352E #41632E #2E5B63
split-complementary
#502E63 #5B632E #2E6335
monochromatic
#110A15 #2E1B39 #502E63 #72418D #9259B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##502E63#FFFFFF#000000##FFFFFF
##502E631.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)
#213B65
Deuteranopia (green-blind)
#2B3D62
Tritanopia (blue-blind)
#4E3744
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #502e63;
/* rgb */ color: rgb(80, 46, 99);
/* oklch */ color: oklch(36.8% 0.095 312.2);
Tailwind
colors: {
  custom: {
    50: '#82688f',
    500: '#502e63',
    950: '#000000',
  },
}
SCSS
$custom: #502e63;
$custom-light: #82688f;
$custom-dark: #000000;
JSON
{
  "hex": "#502e63",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 278.491,
    "s": 36.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.09535,
    "h": 312.2
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#502E63
secondary
#6E9558
accent
#CD5B84
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #502E63

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

Preview Lab → · Contrast checker → · Palette generator →

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