#673174#673174

#673174 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.122 H 319.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#673174
RGBrgb(103, 49, 116)
HSLhsl(288, 41%, 32%)
HSVhsv(288, 58%, 45%)
CMYKcmyk(11.2%, 57.8%, 0%, 54.5%)
CIE-LABlab(30.26, 35.42, -28.41)
CIE-LCHlch(30.26, 45.41, 321.26°)
OKLaboklab(41.37% 0.0925 -0.079)
OKLCHoklch(41.37% 0.122 319.5)
XYZxyz(9.8438, 6.3415, 17.2251)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673174 #3E7431
analogous
#453174 #673174 #743160
triadic
#673174 #746731 #317467
tetradic
#673174 #744531 #3E7431 #316074
square
#673174 #744531 #3E7431 #316074
split-complementary
#673174 #607431 #317445
monochromatic
#1B0D1E #411F49 #673174 #8D439F #AB63BD

Accessibility & contrast

On white

9.26
#673174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#673174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673174
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673174#FFFFFF#000000##FFFFFF
##6731741.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234476
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#673B4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #673174;
/* rgb */ color: rgb(103, 49, 116);
/* oklch */ color: oklch(41.4% 0.122 319.5);
Tailwind
colors: {
  custom: {
    50: '#946c9c',
    500: '#673174',
    950: '#000000',
  },
}
SCSS
$custom: #673174;
$custom-light: #946c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#673174",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 288.358,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.12167,
    "h": 319.5
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#673174
secondary
#6AA45C
accent
#D0576F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #673174

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

Preview Lab → · Contrast checker → · Palette generator →

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