#502A67#502A67

#502A67 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.4% C 0.108 H 310.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#502A67
RGBrgb(80, 42, 103)
HSLhsl(277, 42%, 28%)
HSVhsv(277, 59%, 40%)
CMYKcmyk(22.3%, 59.2%, 0%, 59.6%)
CIE-LABlab(24.77, 29.62, -29.00)
CIE-LCHlch(24.77, 41.45, 315.61°)
OKLaboklab(36.4% 0.0705 -0.0813)
OKLCHoklch(36.4% 0.108 310.9)
XYZxyz(6.5840, 4.3408, 13.3204)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502A67 #41672A
analogous
#312A67 #502A67 #672A5F
triadic
#502A67 #67502A #2A6750
tetradic
#502A67 #67312A #41672A #2A5F67
square
#502A67 #67312A #41672A #2A5F67
split-complementary
#502A67 #5F672A #2A6731
monochromatic
#110916 #2E183C #502A67 #723C92 #9253B9

Accessibility & contrast

On white

11.24
#502A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#502A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502A67
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502A67#FFFFFF#000000##FFFFFF
##502A671.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#253C65
Tritanopia (blue-blind)
#4D3544
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #502a67;
/* rgb */ color: rgb(80, 42, 103);
/* oklch */ color: oklch(36.4% 0.108 310.9);
Tailwind
colors: {
  custom: {
    50: '#836593',
    500: '#502a67',
    950: '#000000',
  },
}
SCSS
$custom: #502a67;
$custom-light: #836593;
$custom-dark: #000000;
JSON
{
  "hex": "#502a67",
  "rgb": {
    "r": 80,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 277.377,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.10764,
    "h": 310.9
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#502A67
secondary
#6E9954
accent
#D25685
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #502A67

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

Preview Lab → · Contrast checker → · Palette generator →

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