#672A78#672A78

#672A78 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.137 H 318.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#672A78
RGBrgb(103, 42, 120)
HSLhsl(287, 48%, 32%)
HSVhsv(287, 65%, 47%)
CMYKcmyk(14.2%, 65%, 0%, 52.9%)
CIE-LABlab(29.15, 39.94, -32.70)
CIE-LCHlch(29.15, 51.62, 320.69°)
OKLaboklab(40.64% 0.1025 -0.0914)
OKLCHoklch(40.64% 0.137 318.3)
XYZxyz(9.8112, 5.8960, 18.3869)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A78 #3B782A
analogous
#402A78 #672A78 #782A62
triadic
#672A78 #78672A #2A7867
tetradic
#672A78 #78402A #3B782A #2A6278
square
#672A78 #78402A #3B782A #2A6278
split-complementary
#672A78 #62782A #2A7840
monochromatic
#190A1D #401A4B #672A78 #8E3AA5 #AD58C5

Accessibility & contrast

On white

9.64
#672A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#672A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A78
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A78#FFFFFF#000000##FFFFFF
##672A781.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417A
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#67374D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672a78;
/* rgb */ color: rgb(103, 42, 120);
/* oklch */ color: oklch(40.6% 0.137 318.3);
Tailwind
colors: {
  custom: {
    50: '#95689f',
    500: '#672a78',
    950: '#000000',
  },
}
SCSS
$custom: #672a78;
$custom-light: #95689f;
$custom-dark: #000000;
JSON
{
  "hex": "#672a78",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 286.923,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.13732,
    "h": 318.3
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#672A78
secondary
#67AA54
accent
#D8506E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672A78

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

Preview Lab → · Contrast checker → · Palette generator →

#672A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva