#672176#672176

#672176 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.148 H 320.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#672176
RGBrgb(103, 33, 118)
HSLhsl(289, 56%, 30%)
HSVhsv(289, 72%, 46%)
CMYKcmyk(12.7%, 72%, 0%, 53.7%)
CIE-LABlab(27.52, 43.71, -34.04)
CIE-LCHlch(27.52, 55.40, 322.09°)
OKLaboklab(39.42% 0.1136 -0.0953)
OKLCHoklch(39.42% 0.148 320)
XYZxyz(9.4070, 5.2797, 17.6596)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672176 #307621
analogous
#3D2176 #672176 #76215B
triadic
#672176 #766721 #217667
tetradic
#672176 #763D21 #307621 #215B76
square
#672176 #763D21 #307621 #215B76
split-complementary
#672176 #5B7621 #21763D
monochromatic
#150718 #3D1446 #672176 #912EA6 #B446CB

Accessibility & contrast

On white

10.22
#672176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#672176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672176
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672176#FFFFFF#000000##FFFFFF
##6721761.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#673149
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672176;
/* rgb */ color: rgb(103, 33, 118);
/* oklch */ color: oklch(39.4% 0.148 320.0);
Tailwind
colors: {
  custom: {
    50: '#95639e',
    500: '#672176',
    950: '#000000',
  },
}
SCSS
$custom: #672176;
$custom-light: #95639e;
$custom-dark: #000000;
JSON
{
  "hex": "#672176",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 289.412,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.14825,
    "h": 320
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#672176
secondary
#5AA94A
accent
#E04863
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672176

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

Preview Lab → · Contrast checker → · Palette generator →

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