#673274#673274

#673274 is a dark, moderate purple. Relative luminance 0.064; OKLCH L 41.5% C 0.120 H 319.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#673274
RGBrgb(103, 50, 116)
HSLhsl(288, 40%, 33%)
HSVhsv(288, 57%, 45%)
CMYKcmyk(11.2%, 56.9%, 0%, 54.5%)
CIE-LABlab(30.46, 34.87, -28.09)
CIE-LCHlch(30.46, 44.78, 321.15°)
OKLaboklab(41.52% 0.0911 -0.078)
OKLCHoklch(41.52% 0.12 319.4)
XYZxyz(9.8861, 6.4261, 17.2392)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673274 #3F7432
analogous
#463274 #673274 #743260
triadic
#673274 #746732 #327467
tetradic
#673274 #744632 #3F7432 #326074
square
#673274 #744632 #3F7432 #326074
split-complementary
#673274 #607432 #327446
monochromatic
#1B0D1E #412049 #673274 #8D449F #AB64BC

Accessibility & contrast

On white

9.19
#673274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673274
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673274#FFFFFF#000000##FFFFFF
##6732741.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#364A72
Tritanopia (blue-blind)
#673C4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #673274;
/* rgb */ color: rgb(103, 50, 116);
/* oklch */ color: oklch(41.5% 0.120 319.4);
Tailwind
colors: {
  custom: {
    50: '#946c9c',
    500: '#673274',
    950: '#000000',
  },
}
SCSS
$custom: #673274;
$custom-light: #946c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#673274",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 288.182,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.11995,
    "h": 319.4
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#673274
secondary
#6CA45E
accent
#D05870
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673274

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

Preview Lab → · Contrast checker → · Palette generator →

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