#672F71#672F71

#672F71 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.9% C 0.122 H 321.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#672F71
RGBrgb(103, 47, 113)
HSLhsl(291, 41%, 31%)
HSVhsv(291, 58%, 44%)
CMYKcmyk(8.8%, 58.4%, 0%, 55.7%)
CIE-LABlab(29.69, 35.85, -27.41)
CIE-LCHlch(29.69, 45.13, 322.60°)
OKLaboklab(40.9% 0.0952 -0.0761)
OKLCHoklch(40.9% 0.122 321.4)
XYZxyz(9.5903, 6.1093, 16.2936)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F71 #39712F
analogous
#462F71 #672F71 #712F5A
triadic
#672F71 #71672F #2F7167
tetradic
#672F71 #71462F #39712F #2F5A71
square
#672F71 #71462F #39712F #2F5A71
split-complementary
#672F71 #5A712F #2F7146
monochromatic
#180B1B #401D46 #672F71 #8E419C #AE5EBC

Accessibility & contrast

On white

9.45
#672F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F71
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F71#FFFFFF#000000##FFFFFF
##672F711.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#68384B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672f71;
/* rgb */ color: rgb(103, 47, 113);
/* oklch */ color: oklch(40.9% 0.122 321.4);
Tailwind
colors: {
  custom: {
    50: '#946b9a',
    500: '#672f71',
    950: '#000000',
  },
}
SCSS
$custom: #672f71;
$custom-light: #946b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#672f71",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 290.909,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.12184,
    "h": 321.4
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#672F71
secondary
#65A25A
accent
#D15769
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #672F71

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

Preview Lab → · Contrast checker → · Palette generator →

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