#502467#502467

#502467 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.5% C 0.118 H 312.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#502467
RGBrgb(80, 36, 103)
HSLhsl(279, 48%, 27%)
HSVhsv(279, 65%, 40%)
CMYKcmyk(22.3%, 65%, 0%, 59.6%)
CIE-LABlab(23.49, 33.04, -31.03)
CIE-LCHlch(23.49, 45.33, 316.80°)
OKLaboklab(35.47% 0.0791 -0.0872)
OKLCHoklch(35.47% 0.118 312.2)
XYZxyz(6.3869, 3.9467, 13.2547)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502467 #3B6724
analogous
#2F2467 #502467 #67245D
triadic
#502467 #675024 #246750
tetradic
#502467 #672F24 #3B6724 #245D67
square
#502467 #672F24 #3B6724 #245D67
split-complementary
#502467 #5D6724 #24672F
monochromatic
#120817 #2D143A #502467 #733494 #9547BF

Accessibility & contrast

On white

11.74
#502467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#502467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502467
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502467#FFFFFF#000000##FFFFFF
##5024671.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#4D3142
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #502467;
/* rgb */ color: rgb(80, 36, 103);
/* oklch */ color: oklch(35.5% 0.118 312.2);
Tailwind
colors: {
  custom: {
    50: '#836293',
    500: '#502467',
    950: '#000000',
  },
}
SCSS
$custom: #502467;
$custom-light: #836293;
$custom-dark: #000000;
JSON
{
  "hex": "#502467",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 279.403,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.11775,
    "h": 312.2
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#502467
secondary
#679A4C
accent
#D8507F
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #502467

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

Preview Lab → · Contrast checker → · Palette generator →

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