#672787#672787

#672787 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.157 H 312.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#672787
RGBrgb(103, 39, 135)
HSLhsl(280, 55%, 34%)
HSVhsv(280, 71%, 53%)
CMYKcmyk(23.7%, 71.1%, 0%, 47.1%)
CIE-LABlab(29.62, 44.71, -41.35)
CIE-LCHlch(29.62, 60.90, 317.23°)
OKLaboklab(41.3% 0.1054 -0.1167)
OKLCHoklch(41.3% 0.157 312.1)
XYZxyz(10.6914, 6.0842, 23.5281)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672787 #478727
analogous
#372787 #672787 #872777
triadic
#672787 #876727 #278767
tetradic
#672787 #873727 #478727 #277787
square
#672787 #873727 #478727 #277787
split-complementary
#672787 #778727 #278737
monochromatic
#1F0C28 #431958 #672787 #8B35B6 #A859CF

Accessibility & contrast

On white

9.47
#672787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672787
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672787#FFFFFF#000000##FFFFFF
##6727871.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#633B54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672787;
/* rgb */ color: rgb(103, 39, 135);
/* oklch */ color: oklch(41.3% 0.157 312.1);
Tailwind
colors: {
  custom: {
    50: '#9667ab',
    500: '#672787',
    950: '#000000',
  },
}
SCSS
$custom: #672787;
$custom-light: #9667ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672787",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 280,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.15727,
    "h": 312.1
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#672787
secondary
#75B456
accent
#DF497B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672787

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

Preview Lab → · Contrast checker → · Palette generator →

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