#672A71#672A71

#672A71 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 321.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#672A71
RGBrgb(103, 42, 113)
HSLhsl(292, 46%, 30%)
HSVhsv(292, 63%, 44%)
CMYKcmyk(8.8%, 62.8%, 0%, 55.7%)
CIE-LABlab(28.73, 38.45, -28.93)
CIE-LCHlch(28.73, 48.12, 323.04°)
OKLaboklab(40.2% 0.1022 -0.0804)
OKLCHoklch(40.2% 0.13 321.8)
XYZxyz(9.4018, 5.7322, 16.2308)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A71 #34712A
analogous
#432A71 #672A71 #712A57
triadic
#672A71 #71672A #2A7167
tetradic
#672A71 #71432A #34712A #2A5771
square
#672A71 #71432A #34712A #2A5771
split-complementary
#672A71 #57712A #2A7143
monochromatic
#160918 #3E1944 #672A71 #903B9E #B155C0

Accessibility & contrast

On white

9.78
#672A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#672A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A71
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A71#FFFFFF#000000##FFFFFF
##672A711.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#683549
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672a71;
/* rgb */ color: rgb(103, 42, 113);
/* oklch */ color: oklch(40.2% 0.130 321.8);
Tailwind
colors: {
  custom: {
    50: '#95689a',
    500: '#672a71',
    950: '#000000',
  },
}
SCSS
$custom: #672a71;
$custom-light: #95689a;
$custom-dark: #000000;
JSON
{
  "hex": "#672a71",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 291.549,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.13009,
    "h": 321.8
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#672A71
secondary
#5FA354
accent
#D55265
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672A71

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

Preview Lab → · Contrast checker → · Palette generator →

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