#673278#673278

#673278 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.124 H 317.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#673278
RGBrgb(103, 50, 120)
HSLhsl(285, 41%, 33%)
HSVhsv(285, 58%, 47%)
CMYKcmyk(14.2%, 58.3%, 0%, 52.9%)
CIE-LABlab(30.69, 35.76, -30.25)
CIE-LCHlch(30.69, 46.84, 319.77°)
OKLaboklab(41.76% 0.0914 -0.0843)
OKLCHoklch(41.76% 0.124 317.3)
XYZxyz(10.1238, 6.5212, 18.4911)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673278 #437832
analogous
#443278 #673278 #783266
triadic
#673278 #786732 #327867
tetradic
#673278 #784432 #437832 #326678
square
#673278 #784432 #437832 #326678
split-complementary
#673278 #667832 #327844
monochromatic
#1D0E22 #42204D #673278 #8C44A3 #A965BF

Accessibility & contrast

On white

9.11
#673278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#673278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673278
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673278#FFFFFF#000000##FFFFFF
##6732781.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#673D50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #673278;
/* rgb */ color: rgb(103, 50, 120);
/* oklch */ color: oklch(41.8% 0.124 317.3);
Tailwind
colors: {
  custom: {
    50: '#946d9f',
    500: '#673278',
    950: '#000000',
  },
}
SCSS
$custom: #673278;
$custom-light: #946d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#673278",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 285.429,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.12439,
    "h": 317.3
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#673278
secondary
#71A75F
accent
#D15774
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673278

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

Preview Lab → · Contrast checker → · Palette generator →

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