#673178#673178

#673178 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.6% C 0.126 H 317.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#673178
RGBrgb(103, 49, 120)
HSLhsl(286, 42%, 33%)
HSVhsv(286, 59%, 47%)
CMYKcmyk(14.2%, 59.2%, 0%, 52.9%)
CIE-LABlab(30.49, 36.30, -30.57)
CIE-LCHlch(30.49, 47.46, 319.89°)
OKLaboklab(41.61% 0.0929 -0.0853)
OKLCHoklch(41.61% 0.126 317.4)
XYZxyz(10.0815, 6.4366, 18.4770)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673178 #427831
analogous
#433178 #673178 #783165
triadic
#673178 #786731 #317867
tetradic
#673178 #784331 #427831 #316578
square
#673178 #784331 #427831 #316578
split-complementary
#673178 #657831 #317843
monochromatic
#1C0E21 #421F4D #673178 #8C43A3 #AA64C0

Accessibility & contrast

On white

9.18
#673178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#673178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673178
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673178#FFFFFF#000000##FFFFFF
##6731781.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#334A76
Tritanopia (blue-blind)
#673C4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #673178;
/* rgb */ color: rgb(103, 49, 120);
/* oklch */ color: oklch(41.6% 0.126 317.4);
Tailwind
colors: {
  custom: {
    50: '#946c9f',
    500: '#673178',
    950: '#000000',
  },
}
SCSS
$custom: #673178;
$custom-light: #946c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#673178",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 285.634,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.12607,
    "h": 317.4
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#673178
secondary
#6FA75E
accent
#D25674
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673178

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

Preview Lab → · Contrast checker → · Palette generator →

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