#502C90#502C90

#502C90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.156 H 294.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#502C90
RGBrgb(80, 44, 144)
HSLhsl(262, 53%, 37%)
HSVhsv(262, 69%, 56%)
CMYKcmyk(44.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(28.17, 39.54, -49.43)
CIE-LCHlch(28.17, 63.30, 308.65°)
OKLaboklab(39.81% 0.0654 -0.1413)
OKLCHoklch(39.81% 0.156 294.8)
XYZxyz(9.2416, 5.5202, 26.9587)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502C90 #6C902C
analogous
#2C3A90 #502C90 #822C90
triadic
#502C90 #90502C #2C9050
tetradic
#502C90 #902C3A #6C902C #2C9082
square
#502C90 #902C3A #6C902C #2C9082
split-complementary
#502C90 #90822C #3A902C
monochromatic
#1C0F32 #361E61 #502C90 #6A3ABF #8C66D0

Accessibility & contrast

On white

9.98
#502C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#502C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502C90
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502C90#FFFFFF#000000##FFFFFF
##502C901.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#3E445A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #502c90;
/* rgb */ color: rgb(80, 44, 144);
/* oklch */ color: oklch(39.8% 0.156 294.8);
Tailwind
colors: {
  custom: {
    50: '#8768b1',
    500: '#502c90',
    950: '#000000',
  },
}
SCSS
$custom: #502c90;
$custom-light: #8768b1;
$custom-dark: #000000;
JSON
{
  "hex": "#502c90",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 261.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.15573,
    "h": 294.8
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#502C90
secondary
#98B761
accent
#DD4BA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #502C90

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

Preview Lab → · Contrast checker → · Palette generator →

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