#673171#673171

#673171 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 41.2% C 0.118 H 321.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#673171
RGBrgb(103, 49, 113)
HSLhsl(291, 40%, 32%)
HSVhsv(291, 57%, 44%)
CMYKcmyk(8.8%, 56.6%, 0%, 55.7%)
CIE-LABlab(30.09, 34.77, -26.77)
CIE-LCHlch(30.09, 43.88, 322.40°)
OKLaboklab(41.19% 0.0922 -0.0742)
OKLCHoklch(41.19% 0.118 321.2)
XYZxyz(9.6721, 6.2729, 16.3209)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673171 #3B7131
analogous
#473171 #673171 #71315B
triadic
#673171 #716731 #317167
tetradic
#673171 #714731 #3B7131 #315B71
square
#673171 #714731 #3B7131 #315B71
split-complementary
#673171 #5B7131 #317147
monochromatic
#190C1C #401E46 #673171 #8E449C #AD62BB

Accessibility & contrast

On white

9.32
#673171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#673171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673171
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673171#FFFFFF#000000##FFFFFF
##6731711.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#683A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #673171;
/* rgb */ color: rgb(103, 49, 113);
/* oklch */ color: oklch(41.2% 0.118 321.2);
Tailwind
colors: {
  custom: {
    50: '#946c9a',
    500: '#673171',
    950: '#000000',
  },
}
SCSS
$custom: #673171;
$custom-light: #946c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#673171",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 290.625,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.11841,
    "h": 321.2
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#673171
secondary
#67A25C
accent
#CF586B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673171

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

Preview Lab → · Contrast checker → · Palette generator →

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