#672172#672172

#672172 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.144 H 321.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#672172
RGBrgb(103, 33, 114)
HSLhsl(292, 55%, 29%)
HSVhsv(292, 71%, 45%)
CMYKcmyk(9.6%, 71.1%, 0%, 55.3%)
CIE-LABlab(27.26, 42.89, -31.90)
CIE-LCHlch(27.26, 53.45, 323.36°)
OKLaboklab(39.15% 0.1137 -0.089)
OKLCHoklch(39.15% 0.144 321.9)
XYZxyz(9.1743, 5.1867, 16.4342)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672172 #2C7221
analogous
#3F2172 #672172 #722155
triadic
#672172 #726721 #217267
tetradic
#672172 #723F21 #2C7221 #215572
square
#672172 #723F21 #2C7221 #215572
split-complementary
#672172 #557221 #21723F
monochromatic
#150718 #3C1343 #672172 #922FA1 #B744C9

Accessibility & contrast

On white

10.31
#672172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#672172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672172
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672172#FFFFFF#000000##FFFFFF
##6721721.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#682F47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #672172;
/* rgb */ color: rgb(103, 33, 114);
/* oklch */ color: oklch(39.2% 0.144 321.9);
Tailwind
colors: {
  custom: {
    50: '#95639b',
    500: '#672172',
    950: '#000000',
  },
}
SCSS
$custom: #672172;
$custom-light: #95639b;
$custom-dark: #000000;
JSON
{
  "hex": "#672172",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 291.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.14443,
    "h": 321.9
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#672172
secondary
#56A549
accent
#DE495E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672172

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

Preview Lab → · Contrast checker → · Palette generator →

#672172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva