#673AA9#673AA9

#673AA9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.170 H 298.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#673AA9
RGBrgb(103, 58, 169)
HSLhsl(264, 49%, 45%)
HSVhsv(264, 66%, 66%)
CMYKcmyk(39.1%, 65.7%, 0%, 33.7%)
CIE-LABlab(35.55, 43.54, -52.52)
CIE-LCHlch(35.55, 68.22, 309.66°)
OKLaboklab(46.33% 0.0799 -0.1496)
OKLCHoklch(46.33% 0.17 298.1)
XYZxyz(14.2662, 8.7740, 38.4704)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA9 #7CA93A
analogous
#3A45A9 #673AA9 #9F3AA9
triadic
#673AA9 #A9673A #3AA967
tetradic
#673AA9 #A93A45 #7CA93A #3AA99F
square
#673AA9 #A93A45 #7CA93A #3AA99F
split-complementary
#673AA9 #A99F3A #45A93A
monochromatic
#2F1B4E #4B2A7B #673AA9 #865AC6 #A787D6

Accessibility & contrast

On white

7.62
#673AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#673AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA9#FFFFFF#000000##FFFFFF
##673AA91.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#57536C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #673aa9;
/* rgb */ color: rgb(103, 58, 169);
/* oklch */ color: oklch(46.3% 0.170 298.1);
Tailwind
colors: {
  custom: {
    50: '#9773c3',
    500: '#673aa9',
    950: '#000000',
  },
}
SCSS
$custom: #673aa9;
$custom-light: #9773c3;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa9",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 264.324,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46327,
    "c": 0.16962,
    "h": 298.1
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#673AA9
secondary
#A6C07F
accent
#D84FA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #673AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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