#673EB4#673EB4

#673EB4 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.177 H 294.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#673EB4
RGBrgb(103, 62, 180)
HSLhsl(261, 49%, 47%)
HSVhsv(261, 66%, 71%)
CMYKcmyk(42.8%, 65.6%, 0%, 29.4%)
CIE-LABlab(37.16, 44.35, -56.45)
CIE-LCHlch(37.16, 71.78, 308.15°)
OKLaboklab(47.75% 0.0742 -0.1612)
OKLCHoklch(47.75% 0.177 294.7)
XYZxyz(15.5522, 9.6237, 44.2093)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EB4 #8BB43E
analogous
#3E50B4 #673EB4 #A23EB4
triadic
#673EB4 #B4673E #3EB467
tetradic
#673EB4 #B43E50 #8BB43E #3EB4A2
square
#673EB4 #B43E50 #8BB43E #3EB4A2
split-complementary
#673EB4 #B4A23E #50B43E
monochromatic
#331F59 #4D2E86 #673EB4 #8865CA #AB93DA

Accessibility & contrast

On white

7.18
#673EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#673EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EB4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EB4#FFFFFF#000000##FFFFFF
##673EB41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#525A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #673eb4;
/* rgb */ color: rgb(103, 62, 180);
/* oklch */ color: oklch(47.7% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#9876cb',
    500: '#673eb4',
    950: '#000000',
  },
}
SCSS
$custom: #673eb4;
$custom-light: #9876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#673eb4",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 260.847,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.17747,
    "h": 294.7
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#673EB4
secondary
#B0C589
accent
#D84FA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #673EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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