#672784#672784

#672784 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.154 H 313.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#672784
RGBrgb(103, 39, 132)
HSLhsl(281, 54%, 34%)
HSVhsv(281, 70%, 52%)
CMYKcmyk(22%, 70.5%, 0%, 48.2%)
CIE-LABlab(29.41, 44.03, -39.82)
CIE-LCHlch(29.41, 59.37, 317.88°)
OKLaboklab(41.08% 0.1057 -0.1122)
OKLCHoklch(41.08% 0.154 313.3)
XYZxyz(10.4832, 6.0009, 22.4314)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672784 #448427
analogous
#382784 #672784 #842772
triadic
#672784 #846727 #278467
tetradic
#672784 #843827 #448427 #277284
square
#672784 #843827 #448427 #277284
split-complementary
#672784 #728427 #278438
monochromatic
#1D0B26 #421955 #672784 #8C35B3 #A958CE

Accessibility & contrast

On white

9.54
#672784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#672784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672784
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672784#FFFFFF#000000##FFFFFF
##6727841.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#204782
Tritanopia (blue-blind)
#643A52
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672784;
/* rgb */ color: rgb(103, 39, 132);
/* oklch */ color: oklch(41.1% 0.154 313.3);
Tailwind
colors: {
  custom: {
    50: '#9667a8',
    500: '#672784',
    950: '#000000',
  },
}
SCSS
$custom: #672784;
$custom-light: #9667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#672784",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 281.29,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41081,
    "c": 0.15416,
    "h": 313.3
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#672784
secondary
#72B254
accent
#DE4A78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672784

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

Preview Lab → · Contrast checker → · Palette generator →

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