#673AA0#673AA0

#673AA0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.159 H 300.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#673AA0
RGBrgb(103, 58, 160)
HSLhsl(266, 47%, 43%)
HSVhsv(266, 64%, 63%)
CMYKcmyk(35.6%, 63.8%, 0%, 37.3%)
CIE-LABlab(34.90, 41.17, -48.16)
CIE-LCHlch(34.90, 63.36, 310.52°)
OKLaboklab(45.65% 0.0807 -0.1368)
OKLCHoklch(45.65% 0.159 300.5)
XYZxyz(13.4502, 8.4476, 34.1728)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AA0 #73A03A
analogous
#3A40A0 #673AA0 #9A3AA0
triadic
#673AA0 #A0673A #3AA067
tetradic
#673AA0 #A03A40 #73A03A #3AA09A
square
#673AA0 #A03A40 #73A03A #3AA09A
split-complementary
#673AA0 #A09A3A #40A03A
monochromatic
#2D1946 #4A2A73 #673AA0 #8556C2 #A683D2

Accessibility & contrast

On white

7.81
#673AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#673AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AA0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AA0#FFFFFF#000000##FFFFFF
##673AA01.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#12519E
Tritanopia (blue-blind)
#5B5067
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673aa0;
/* rgb */ color: rgb(103, 58, 160);
/* oklch */ color: oklch(45.7% 0.159 300.5);
Tailwind
colors: {
  custom: {
    50: '#9773bd',
    500: '#673aa0',
    950: '#000000',
  },
}
SCSS
$custom: #673aa0;
$custom-light: #9773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#673aa0",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 266.471,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.15883,
    "h": 300.5
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#673AA0
secondary
#9FBC7A
accent
#D6519C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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