#673271#673271

#673271 is a dark, moderate purple. Relative luminance 0.064; OKLCH L 41.3% C 0.117 H 321.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#673271
RGBrgb(103, 50, 113)
HSLhsl(290, 39%, 32%)
HSVhsv(290, 56%, 44%)
CMYKcmyk(8.8%, 55.8%, 0%, 55.7%)
CIE-LABlab(30.30, 34.22, -26.45)
CIE-LCHlch(30.30, 43.25, 322.30°)
OKLaboklab(41.34% 0.0908 -0.0733)
OKLCHoklch(41.34% 0.117 321.1)
XYZxyz(9.7144, 6.3574, 16.3350)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673271 #3C7132
analogous
#483271 #673271 #71325C
triadic
#673271 #716732 #327167
tetradic
#673271 #714832 #3C7132 #325C71
square
#673271 #714832 #3C7132 #325C71
split-complementary
#673271 #5C7132 #327148
monochromatic
#1A0C1C #401F47 #673271 #8E459B #AC63BA

Accessibility & contrast

On white

9.25
#673271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#673271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673271
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673271#FFFFFF#000000##FFFFFF
##6732711.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#683B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #673271;
/* rgb */ color: rgb(103, 50, 113);
/* oklch */ color: oklch(41.3% 0.117 321.1);
Tailwind
colors: {
  custom: {
    50: '#946c9a',
    500: '#673271',
    950: '#000000',
  },
}
SCSS
$custom: #673271;
$custom-light: #946c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#673271",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 290.476,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.11666,
    "h": 321.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#673271
secondary
#68A25D
accent
#CF596C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673271

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

Preview Lab → · Contrast checker → · Palette generator →

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