#502E92#502E92

#502E92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.156 H 293.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#502E92
RGBrgb(80, 46, 146)
HSLhsl(260, 52%, 38%)
HSVhsv(260, 68%, 57%)
CMYKcmyk(45.2%, 68.5%, 0%, 42.7%)
CIE-LABlab(28.73, 39.00, -49.75)
CIE-LCHlch(28.73, 63.22, 308.10°)
OKLaboklab(40.26% 0.0629 -0.1423)
OKLCHoklch(40.26% 0.156 293.9)
XYZxyz(9.4722, 5.7345, 27.7964)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502E92 #70922E
analogous
#2E3E92 #502E92 #822E92
triadic
#502E92 #92502E #2E9250
tetradic
#502E92 #922E3E #70922E #2E9282
square
#502E92 #922E3E #70922E #2E9282
split-complementary
#502E92 #92822E #3E922E
monochromatic
#1D1135 #361F63 #502E92 #6A3DC1 #8D6AD0

Accessibility & contrast

On white

9.78
#502E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#502E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502E92
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502E92#FFFFFF#000000##FFFFFF
##502E921.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3D465C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #502e92;
/* rgb */ color: rgb(80, 46, 146);
/* oklch */ color: oklch(40.3% 0.156 293.9);
Tailwind
colors: {
  custom: {
    50: '#8769b3',
    500: '#502e92',
    950: '#000000',
  },
}
SCSS
$custom: #502e92;
$custom-light: #8769b3;
$custom-dark: #000000;
JSON
{
  "hex": "#502e92",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 260.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.15557,
    "h": 293.9
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#502E92
secondary
#9BB765
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #502E92

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

Preview Lab → · Contrast checker → · Palette generator →

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