#673EB7#673EB7

#673EB7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.181 H 294.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#673EB7
RGBrgb(103, 62, 183)
HSLhsl(260, 49%, 48%)
HSVhsv(260, 66%, 72%)
CMYKcmyk(43.7%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.38, 45.17, -57.85)
CIE-LCHlch(37.38, 73.39, 307.98°)
OKLaboklab(47.98% 0.0739 -0.1653)
OKLCHoklch(47.98% 0.181 294.1)
XYZxyz(15.8611, 9.7473, 45.8363)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EB7 #8EB73E
analogous
#3E51B7 #673EB7 #A43EB7
triadic
#673EB7 #B7673E #3EB767
tetradic
#673EB7 #B73E51 #8EB73E #3EB7A4
square
#673EB7 #B73E51 #8EB73E #3EB7A4
split-complementary
#673EB7 #B7A43E #51B73E
monochromatic
#341F5C #4D2F89 #673EB7 #8967CB #AC94DB

Accessibility & contrast

On white

7.12
#673EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#673EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EB7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EB7#FFFFFF#000000##FFFFFF
##673EB71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#515B75
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #673eb7;
/* rgb */ color: rgb(103, 62, 183);
/* oklch */ color: oklch(48.0% 0.181 294.1);
Tailwind
colors: {
  custom: {
    50: '#9976cd',
    500: '#673eb7',
    950: '#000000',
  },
}
SCSS
$custom: #673eb7;
$custom-light: #9976cd;
$custom-dark: #000000;
JSON
{
  "hex": "#673eb7",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 260.331,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.18108,
    "h": 294.1
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#673EB7
secondary
#B2C68A
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #673EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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