#673AA5#673AA5

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

Color values

HEX#673AA5
RGBrgb(103, 58, 165)
HSLhsl(265, 48%, 44%)
HSVhsv(265, 65%, 65%)
CMYKcmyk(37.6%, 64.8%, 0%, 35.3%)
CIE-LABlab(35.25, 42.48, -50.59)
CIE-LCHlch(35.25, 66.06, 310.02°)
OKLaboklab(46.03% 0.0803 -0.144)
OKLCHoklch(46.03% 0.165 299.1)
XYZxyz(13.8964, 8.6261, 36.5229)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA5 #78A53A
analogous
#3A42A5 #673AA5 #9C3AA5
triadic
#673AA5 #A5673A #3AA567
tetradic
#673AA5 #A53A42 #78A53A #3AA59C
square
#673AA5 #A53A42 #78A53A #3AA59C
split-complementary
#673AA5 #A59C3A #42A53A
monochromatic
#2E1A4A #4B2A78 #673AA5 #8558C4 #A685D4

Accessibility & contrast

On white

7.71
#673AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#673AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA5#FFFFFF#000000##FFFFFF
##673AA51.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0252A3
Tritanopia (blue-blind)
#59526A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673aa5;
/* rgb */ color: rgb(103, 58, 165);
/* oklch */ color: oklch(46.0% 0.165 299.1);
Tailwind
colors: {
  custom: {
    50: '#9773c0',
    500: '#673aa5',
    950: '#000000',
  },
}
SCSS
$custom: #673aa5;
$custom-light: #9773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa5",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 265.234,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.16483,
    "h": 299.1
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#673AA5
secondary
#A3BE7D
accent
#D8509F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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