#672879#672879

#672879 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.141 H 318.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#672879
RGBrgb(103, 40, 121)
HSLhsl(287, 50%, 32%)
HSVhsv(287, 67%, 47%)
CMYKcmyk(14.9%, 66.9%, 0%, 52.5%)
CIE-LABlab(28.86, 41.14, -33.80)
CIE-LCHlch(28.86, 53.25, 320.59°)
OKLaboklab(40.45% 0.105 -0.0946)
OKLCHoklch(40.45% 0.141 318)
XYZxyz(9.8030, 5.7820, 18.6851)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672879 #3A7928
analogous
#3F2879 #672879 #792863
triadic
#672879 #796728 #287967
tetradic
#672879 #793F28 #3A7928 #286379
square
#672879 #793F28 #3A7928 #286379
split-complementary
#672879 #637928 #28793F
monochromatic
#190A1D #40194B #672879 #8E37A7 #AD55C7

Accessibility & contrast

On white

9.74
#672879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672879
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672879#FFFFFF#000000##FFFFFF
##6728791.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#67364D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672879;
/* rgb */ color: rgb(103, 40, 121);
/* oklch */ color: oklch(40.4% 0.141 318.0);
Tailwind
colors: {
  custom: {
    50: '#9567a0',
    500: '#672879',
    950: '#000000',
  },
}
SCSS
$custom: #672879;
$custom-light: #9567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#672879",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 286.667,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.14137,
    "h": 318
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#672879
secondary
#66AB52
accent
#DA4E6D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #672879

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

Preview Lab → · Contrast checker → · Palette generator →

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