#672B71#672B71

#672B71 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 321.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#672B71
RGBrgb(103, 43, 113)
HSLhsl(291, 45%, 31%)
HSVhsv(291, 62%, 44%)
CMYKcmyk(8.8%, 61.9%, 0%, 55.7%)
CIE-LABlab(28.91, 37.94, -28.64)
CIE-LCHlch(28.91, 47.54, 322.96°)
OKLaboklab(40.33% 0.1009 -0.0796)
OKLCHoklch(40.33% 0.128 321.7)
XYZxyz(9.4377, 5.8040, 16.2428)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B71 #35712B
analogous
#442B71 #672B71 #712B58
triadic
#672B71 #71672B #2B7167
tetradic
#672B71 #71442B #35712B #2B5871
square
#672B71 #71442B #35712B #2B5871
split-complementary
#672B71 #58712B #2B7144
monochromatic
#160918 #3F1A45 #672B71 #8F3C9D #B057BF

Accessibility & contrast

On white

9.72
#672B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672B71
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B71#FFFFFF#000000##FFFFFF
##672B711.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672b71;
/* rgb */ color: rgb(103, 43, 113);
/* oklch */ color: oklch(40.3% 0.128 321.7);
Tailwind
colors: {
  custom: {
    50: '#95689a',
    500: '#672b71',
    950: '#000000',
  },
}
SCSS
$custom: #672b71;
$custom-light: #95689a;
$custom-dark: #000000;
JSON
{
  "hex": "#672b71",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 291.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.12848,
    "h": 321.7
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#672B71
secondary
#60A355
accent
#D55366
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672B71

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

Preview Lab → · Contrast checker → · Palette generator →

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