#673AA2#673AA2

#673AA2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.161 H 300.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#673AA2
RGBrgb(103, 58, 162)
HSLhsl(266, 47%, 43%)
HSVhsv(266, 64%, 64%)
CMYKcmyk(36.4%, 64.2%, 0%, 36.5%)
CIE-LABlab(35.04, 41.69, -49.14)
CIE-LCHlch(35.04, 64.44, 310.31°)
OKLaboklab(45.8% 0.0805 -0.1397)
OKLCHoklch(45.8% 0.161 300)
XYZxyz(13.6266, 8.5182, 35.1017)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA2 #75A23A
analogous
#3A41A2 #673AA2 #9B3AA2
triadic
#673AA2 #A2673A #3AA267
tetradic
#673AA2 #A23A41 #75A23A #3AA29B
square
#673AA2 #A23A41 #75A23A #3AA29B
split-complementary
#673AA2 #A29B3A #41A23A
monochromatic
#2E1A48 #4A2A75 #673AA2 #8557C3 #A684D3

Accessibility & contrast

On white

7.77
#673AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673AA2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA2#FFFFFF#000000##FFFFFF
##673AA21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#5A5168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673aa2;
/* rgb */ color: rgb(103, 58, 162);
/* oklch */ color: oklch(45.8% 0.161 300.0);
Tailwind
colors: {
  custom: {
    50: '#9773be',
    500: '#673aa2',
    950: '#000000',
  },
}
SCSS
$custom: #673aa2;
$custom-light: #9773be;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa2",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 265.962,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.16124,
    "h": 300
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#673AA2
secondary
#A0BD7B
accent
#D7519D
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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