#673AA8#673AA8

#673AA8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.168 H 298.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#673AA8
RGBrgb(103, 58, 168)
HSLhsl(265, 49%, 44%)
HSVhsv(265, 65%, 66%)
CMYKcmyk(38.7%, 65.5%, 0%, 34.1%)
CIE-LABlab(35.47, 43.28, -52.04)
CIE-LCHlch(35.47, 67.68, 309.75°)
OKLaboklab(46.25% 0.08 -0.1482)
OKLCHoklch(46.25% 0.168 298.3)
XYZxyz(14.1727, 8.7366, 37.9778)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA8 #7BA83A
analogous
#3A44A8 #673AA8 #9E3AA8
triadic
#673AA8 #A8673A #3AA867
tetradic
#673AA8 #A83A44 #7BA83A #3AA89E
square
#673AA8 #A83A44 #7BA83A #3AA89E
split-complementary
#673AA8 #A89E3A #44A83A
monochromatic
#2F1B4D #4B2A7B #673AA8 #8659C6 #A787D6

Accessibility & contrast

On white

7.64
#673AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673AA8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA8#FFFFFF#000000##FFFFFF
##673AA81.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#58536C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673aa8;
/* rgb */ color: rgb(103, 58, 168);
/* oklch */ color: oklch(46.3% 0.168 298.3);
Tailwind
colors: {
  custom: {
    50: '#9773c3',
    500: '#673aa8',
    950: '#000000',
  },
}
SCSS
$custom: #673aa8;
$custom-light: #9773c3;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa8",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 264.545,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.16843,
    "h": 298.3
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#673AA8
secondary
#A5C07E
accent
#D850A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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