#673AB4#673AB4

#673AB4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.183 H 295.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#673AB4
RGBrgb(103, 58, 180)
HSLhsl(262, 51%, 47%)
HSVhsv(262, 68%, 71%)
CMYKcmyk(42.8%, 67.8%, 0%, 29.4%)
CIE-LABlab(36.38, 46.49, -57.72)
CIE-LCHlch(36.38, 74.11, 308.85°)
OKLaboklab(47.19% 0.0785 -0.1649)
OKLCHoklch(47.19% 0.183 295.4)
XYZxyz(15.3426, 9.2046, 44.1395)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB4 #87B43A
analogous
#3A4AB4 #673AB4 #A43AB4
triadic
#673AB4 #B4673A #3AB467
tetradic
#673AB4 #B43A4A #87B43A #3AB4A4
square
#673AB4 #B43A4A #87B43A #3AB4A4
split-complementary
#673AB4 #B4A43A #4AB43A
monochromatic
#321C57 #4D2B86 #673AB4 #8760CC #AA8EDB

Accessibility & contrast

On white

7.39
#673AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#673AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AB4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB4#FFFFFF#000000##FFFFFF
##673AB41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#535772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #673ab4;
/* rgb */ color: rgb(103, 58, 180);
/* oklch */ color: oklch(47.2% 0.183 295.4);
Tailwind
colors: {
  custom: {
    50: '#9973cb',
    500: '#673ab4',
    950: '#000000',
  },
}
SCSS
$custom: #673ab4;
$custom-light: #9973cb;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab4",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 262.131,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.18265,
    "h": 295.4
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#673AB4
secondary
#ADC585
accent
#DB4DA6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #673AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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