#673AA1#673AA1

#673AA1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.160 H 300.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#673AA1
RGBrgb(103, 58, 161)
HSLhsl(266, 47%, 43%)
HSVhsv(266, 64%, 63%)
CMYKcmyk(36%, 64%, 0%, 36.9%)
CIE-LABlab(34.97, 41.43, -48.65)
CIE-LCHlch(34.97, 63.90, 310.42°)
OKLaboklab(45.73% 0.0806 -0.1383)
OKLCHoklch(45.73% 0.16 300.2)
XYZxyz(13.5380, 8.4828, 34.6354)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA1 #74A13A
analogous
#3A40A1 #673AA1 #9B3AA1
triadic
#673AA1 #A1673A #3AA167
tetradic
#673AA1 #A13A40 #74A13A #3AA19B
square
#673AA1 #A13A40 #74A13A #3AA19B
split-complementary
#673AA1 #A19B3A #40A13A
monochromatic
#2D1A47 #4A2A74 #673AA1 #8556C2 #A683D2

Accessibility & contrast

On white

7.79
#673AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#673AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA1#FFFFFF#000000##FFFFFF
##673AA11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#10529F
Tritanopia (blue-blind)
#5A5168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673aa1;
/* rgb */ color: rgb(103, 58, 161);
/* oklch */ color: oklch(45.7% 0.160 300.2);
Tailwind
colors: {
  custom: {
    50: '#9773bd',
    500: '#673aa1',
    950: '#000000',
  },
}
SCSS
$custom: #673aa1;
$custom-light: #9773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa1",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 266.214,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.16004,
    "h": 300.2
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#673AA1
secondary
#A0BC7B
accent
#D7519C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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