#672884#672884

#672884 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.153 H 313.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#672884
RGBrgb(103, 40, 132)
HSLhsl(281, 53%, 34%)
HSVhsv(281, 70%, 52%)
CMYKcmyk(22%, 69.7%, 0%, 48.2%)
CIE-LABlab(29.58, 43.56, -39.55)
CIE-LCHlch(29.58, 58.84, 317.76°)
OKLaboklab(41.2% 0.1045 -0.1115)
OKLCHoklch(41.2% 0.153 313.2)
XYZxyz(10.5164, 6.0674, 22.4425)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672884 #458428
analogous
#392884 #672884 #842873
triadic
#672884 #846728 #288467
tetradic
#672884 #843928 #458428 #287384
square
#672884 #843928 #458428 #287384
split-complementary
#672884 #738428 #288439
monochromatic
#1E0C26 #421A55 #672884 #8C36B3 #A95ACD

Accessibility & contrast

On white

9.49
#672884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#672884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672884
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672884#FFFFFF#000000##FFFFFF
##6728841.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#214782
Tritanopia (blue-blind)
#643B52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672884;
/* rgb */ color: rgb(103, 40, 132);
/* oklch */ color: oklch(41.2% 0.153 313.2);
Tailwind
colors: {
  custom: {
    50: '#9667a8',
    500: '#672884',
    950: '#000000',
  },
}
SCSS
$custom: #672884;
$custom-light: #9667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#672884",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 281.087,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.15279,
    "h": 313.2
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#672884
secondary
#73B256
accent
#DD4B79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672884

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

Preview Lab → · Contrast checker → · Palette generator →

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