#673AA4#673AA4

#673AA4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.164 H 299.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#673AA4
RGBrgb(103, 58, 164)
HSLhsl(265, 48%, 44%)
HSVhsv(265, 65%, 64%)
CMYKcmyk(37.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(35.18, 42.22, -50.11)
CIE-LCHlch(35.18, 65.52, 310.11°)
OKLaboklab(45.95% 0.0803 -0.1426)
OKLCHoklch(45.95% 0.164 299.4)
XYZxyz(13.8058, 8.5899, 36.0454)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA4 #77A43A
analogous
#3A42A4 #673AA4 #9C3AA4
triadic
#673AA4 #A4673A #3AA467
tetradic
#673AA4 #A43A42 #77A43A #3AA49C
square
#673AA4 #A43A42 #77A43A #3AA49C
split-complementary
#673AA4 #A49C3A #42A43A
monochromatic
#2E1A4A #4B2A77 #673AA4 #8557C4 #A685D4

Accessibility & contrast

On white

7.73
#673AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#673AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA4#FFFFFF#000000##FFFFFF
##673AA41.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0552A2
Tritanopia (blue-blind)
#59526A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673aa4;
/* rgb */ color: rgb(103, 58, 164);
/* oklch */ color: oklch(46.0% 0.164 299.4);
Tailwind
colors: {
  custom: {
    50: '#9773c0',
    500: '#673aa4',
    950: '#000000',
  },
}
SCSS
$custom: #673aa4;
$custom-light: #9773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa4",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 265.472,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.16364,
    "h": 299.4
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#673AA4
secondary
#A2BE7C
accent
#D7509E
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#673AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva