#673AA3#673AA3

#673AA3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.162 H 299.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#673AA3
RGBrgb(103, 58, 163)
HSLhsl(266, 48%, 43%)
HSVhsv(266, 64%, 64%)
CMYKcmyk(36.8%, 64.4%, 0%, 36.1%)
CIE-LABlab(35.11, 41.95, -49.62)
CIE-LCHlch(35.11, 64.98, 310.21°)
OKLaboklab(45.88% 0.0804 -0.1411)
OKLCHoklch(45.88% 0.162 299.7)
XYZxyz(13.7158, 8.5539, 35.5717)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA3 #76A33A
analogous
#3A42A3 #673AA3 #9B3AA3
triadic
#673AA3 #A3673A #3AA367
tetradic
#673AA3 #A33A42 #76A33A #3AA39B
square
#673AA3 #A33A42 #76A33A #3AA39B
split-complementary
#673AA3 #A39B3A #42A33A
monochromatic
#2E1A49 #4A2A76 #673AA3 #8557C3 #A684D3

Accessibility & contrast

On white

7.75
#673AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#673AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA3#FFFFFF#000000##FFFFFF
##673AA31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0952A1
Tritanopia (blue-blind)
#5A5169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673aa3;
/* rgb */ color: rgb(103, 58, 163);
/* oklch */ color: oklch(45.9% 0.162 299.7);
Tailwind
colors: {
  custom: {
    50: '#9773bf',
    500: '#673aa3',
    950: '#000000',
  },
}
SCSS
$custom: #673aa3;
$custom-light: #9773bf;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa3",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 265.714,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.16244,
    "h": 299.7
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#673AA3
secondary
#A1BD7C
accent
#D7519E
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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