#671772#671772

#671772 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.157 H 322.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#671772
RGBrgb(103, 23, 114)
HSLhsl(293, 66%, 27%)
HSVhsv(293, 80%, 45%)
CMYKcmyk(9.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(25.90, 46.77, -34.08)
CIE-LCHlch(25.90, 57.87, 323.92°)
OKLaboklab(38.18% 0.1242 -0.0953)
OKLCHoklch(38.18% 0.157 322.5)
XYZxyz(8.9369, 4.7118, 16.3551)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671772 #227217
analogous
#3A1772 #671772 #721750
triadic
#671772 #726717 #177267
tetradic
#671772 #723A17 #227217 #175072
square
#671772 #723A17 #227217 #175072
split-complementary
#671772 #507217 #17723A
monochromatic
#170519 #390D3F #671772 #9521A5 #C12ED5

Accessibility & contrast

On white

10.81
#671772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#671772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671772
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671772#FFFFFF#000000##FFFFFF
##6717721.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#682944
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671772;
/* rgb */ color: rgb(103, 23, 114);
/* oklch */ color: oklch(38.2% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#965e9b',
    500: '#671772',
    950: '#000000',
  },
}
SCSS
$custom: #671772;
$custom-light: #965e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#671772",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 292.747,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38182,
    "c": 0.15657,
    "h": 322.5
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#671772
secondary
#4AA83D
accent
#E93E53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671772

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

Preview Lab → · Contrast checker → · Palette generator →

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