#672A79#672A79

#672A79 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 317.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#672A79
RGBrgb(103, 42, 121)
HSLhsl(286, 48%, 32%)
HSVhsv(286, 65%, 47%)
CMYKcmyk(14.9%, 65.3%, 0%, 52.5%)
CIE-LABlab(29.21, 40.16, -33.24)
CIE-LCHlch(29.21, 52.13, 320.39°)
OKLaboklab(40.7% 0.1025 -0.093)
OKLCHoklch(40.7% 0.138 317.8)
XYZxyz(9.8722, 5.9204, 18.7082)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A79 #3C792A
analogous
#402A79 #672A79 #792A64
triadic
#672A79 #79672A #2A7967
tetradic
#672A79 #79402A #3C792A #2A6479
square
#672A79 #79402A #3C792A #2A6479
split-complementary
#672A79 #64792A #2A7940
monochromatic
#1A0A1E #401A4C #672A79 #8E3AA6 #AC58C5

Accessibility & contrast

On white

9.62
#672A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672A79
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A79#FFFFFF#000000##FFFFFF
##672A791.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#67384D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672a79;
/* rgb */ color: rgb(103, 42, 121);
/* oklch */ color: oklch(40.7% 0.138 317.8);
Tailwind
colors: {
  custom: {
    50: '#9568a0',
    500: '#672a79',
    950: '#000000',
  },
}
SCSS
$custom: #672a79;
$custom-light: #9568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#672a79",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 286.329,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.13837,
    "h": 317.8
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#672A79
secondary
#68AB54
accent
#D8506F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #672A79

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

Preview Lab → · Contrast checker → · Palette generator →

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