#673AB9#673AB9

#673AB9 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.189 H 294.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#673AB9
RGBrgb(103, 58, 185)
HSLhsl(261, 52%, 48%)
HSVhsv(261, 69%, 73%)
CMYKcmyk(44.3%, 68.6%, 0%, 27.5%)
CIE-LABlab(36.77, 47.84, -60.04)
CIE-LCHlch(36.77, 76.76, 308.55°)
OKLaboklab(47.59% 0.0777 -0.1717)
OKLCHoklch(47.59% 0.189 294.3)
XYZxyz(15.8612, 9.4120, 46.8705)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB9 #8CB93A
analogous
#3A4CB9 #673AB9 #A63AB9
triadic
#673AB9 #B9673A #3AB967
tetradic
#673AB9 #B93A4C #8CB93A #3AB9A6
square
#673AB9 #B93A4C #8CB93A #3AB9A6
split-complementary
#673AB9 #B9A63A #4CB93A
monochromatic
#331D5C #4D2B8A #673AB9 #8862CE #AC91DC

Accessibility & contrast

On white

7.29
#673AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#673AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AB9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB9#FFFFFF#000000##FFFFFF
##673AB91.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#505975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #673ab9;
/* rgb */ color: rgb(103, 58, 185);
/* oklch */ color: oklch(47.6% 0.189 294.3);
Tailwind
colors: {
  custom: {
    50: '#9973cf',
    500: '#673ab9',
    950: '#000000',
  },
}
SCSS
$custom: #673ab9;
$custom-light: #9973cf;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab9",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 261.26,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.18851,
    "h": 294.3
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#673AB9
secondary
#B1C787
accent
#DC4CA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #673AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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