#673496#673496

#673496 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.156 H 304.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#673496
RGBrgb(103, 52, 150)
HSLhsl(271, 49%, 40%)
HSVhsv(271, 65%, 59%)
CMYKcmyk(31.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(33.01, 41.83, -45.14)
CIE-LCHlch(33.01, 61.54, 312.82°)
OKLaboklab(44.07% 0.0886 -0.1279)
OKLCHoklch(44.07% 0.156 304.7)
XYZxyz(12.3253, 7.5416, 29.6546)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673496 #639634
analogous
#363496 #673496 #963494
triadic
#673496 #966734 #349667
tetradic
#673496 #963634 #639634 #349496
square
#673496 #963634 #639634 #349496
split-complementary
#673496 #949634 #349636
monochromatic
#29143B #482469 #673496 #8648BF #A475CF

Accessibility & contrast

On white

8.37
#673496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#673496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673496
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673496#FFFFFF#000000##FFFFFF
##6734961.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#194E94
Tritanopia (blue-blind)
#5E4960
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #673496;
/* rgb */ color: rgb(103, 52, 150);
/* oklch */ color: oklch(44.1% 0.156 304.7);
Tailwind
colors: {
  custom: {
    50: '#966fb5',
    500: '#673496',
    950: '#000000',
  },
}
SCSS
$custom: #673496;
$custom-light: #966fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#673496",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 271.224,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.15565,
    "h": 304.7
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#673496
secondary
#91B86E
accent
#D85091
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673496

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

Preview Lab → · Contrast checker → · Palette generator →

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