#673BB7#673BB7

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

Color values

HEX#673BB7
RGBrgb(103, 59, 183)
HSLhsl(261, 51%, 47%)
HSVhsv(261, 68%, 72%)
CMYKcmyk(43.7%, 67.8%, 0%, 28.2%)
CIE-LABlab(36.80, 46.77, -58.80)
CIE-LCHlch(36.80, 75.13, 308.50°)
OKLaboklab(47.56% 0.077 -0.1681)
OKLCHoklch(47.56% 0.185 294.6)
XYZxyz(15.7024, 9.4300, 45.7834)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673BB7 #8BB73B
analogous
#3B4DB7 #673BB7 #A53BB7
triadic
#673BB7 #B7673B #3BB767
tetradic
#673BB7 #B73B4D #8BB73B #3BB7A5
square
#673BB7 #B73B4D #8BB73B #3BB7A5
split-complementary
#673BB7 #B7A53B #4DB73B
monochromatic
#331D5A #4D2C89 #673BB7 #8863CD #AB91DC

Accessibility & contrast

On white

7.28
#673BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#673BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673BB7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673BB7#FFFFFF#000000##FFFFFF
##673BB71.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#515974
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #673bb7;
/* rgb */ color: rgb(103, 59, 183);
/* oklch */ color: oklch(47.6% 0.185 294.6);
Tailwind
colors: {
  custom: {
    50: '#9974cd',
    500: '#673bb7',
    950: '#000000',
  },
}
SCSS
$custom: #673bb7;
$custom-light: #9974cd;
$custom-dark: #000000;
JSON
{
  "hex": "#673bb7",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 261.29,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.18492,
    "h": 294.6
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#673BB7
secondary
#B0C687
accent
#DB4DA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #673BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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