#673172#673172

#673172 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 41.3% C 0.119 H 320.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#673172
RGBrgb(103, 49, 114)
HSLhsl(290, 40%, 32%)
HSVhsv(290, 57%, 45%)
CMYKcmyk(9.6%, 57%, 0%, 55.3%)
CIE-LABlab(30.15, 34.98, -27.32)
CIE-LCHlch(30.15, 44.39, 322.01°)
OKLaboklab(41.25% 0.0924 -0.0758)
OKLCHoklch(41.25% 0.119 320.6)
XYZxyz(9.7287, 6.2955, 16.6190)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673172 #3C7231
analogous
#473172 #673172 #72315D
triadic
#673172 #726731 #317267
tetradic
#673172 #724731 #3C7231 #315D72
square
#673172 #724731 #3C7231 #315D72
split-complementary
#673172 #5D7231 #317247
monochromatic
#1A0C1C #401F47 #673172 #8E439D #AC62BB

Accessibility & contrast

On white

9.30
#673172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#673172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673172
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673172#FFFFFF#000000##FFFFFF
##6731721.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#683A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #673172;
/* rgb */ color: rgb(103, 49, 114);
/* oklch */ color: oklch(41.3% 0.119 320.6);
Tailwind
colors: {
  custom: {
    50: '#946c9b',
    500: '#673172',
    950: '#000000',
  },
}
SCSS
$custom: #673172;
$custom-light: #946c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#673172",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 289.846,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.11949,
    "h": 320.6
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#673172
secondary
#68A35C
accent
#D0586C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673172

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

Preview Lab → · Contrast checker → · Palette generator →

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