#502092#502092

#502092 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.172 H 296.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#502092
RGBrgb(80, 32, 146)
HSLhsl(265, 64%, 35%)
HSVhsv(265, 78%, 57%)
CMYKcmyk(45.2%, 78.1%, 0%, 42.7%)
CIE-LABlab(26.20, 46.11, -53.89)
CIE-LCHlch(26.20, 70.92, 310.55°)
OKLaboklab(38.46% 0.0766 -0.1543)
OKLCHoklch(38.46% 0.172 296.4)
XYZxyz(9.0117, 4.8136, 27.6429)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502092 #629220
analogous
#202992 #502092 #892092
triadic
#502092 #925020 #209250
tetradic
#502092 #922029 #629220 #209289
square
#502092 #922029 #629220 #209289
split-complementary
#502092 #928920 #299220
monochromatic
#190A2E #341560 #502092 #6C2BC4 #8C53D9

Accessibility & contrast

On white

10.70
#502092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#502092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502092
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502092#FFFFFF#000000##FFFFFF
##5020921.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#3E3F58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #502092;
/* rgb */ color: rgb(80, 32, 146);
/* oklch */ color: oklch(38.5% 0.172 296.4);
Tailwind
colors: {
  custom: {
    50: '#8861b3',
    500: '#502092',
    950: '#000000',
  },
}
SCSS
$custom: #502092;
$custom-light: #8861b3;
$custom-dark: #000000;
JSON
{
  "hex": "#502092",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 265.263,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.17229,
    "h": 296.4
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#502092
secondary
#8FBD51
accent
#E741A1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #502092

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

Preview Lab → · Contrast checker → · Palette generator →

#502092 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva