#673A9D#673A9D

#673A9D is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.155 H 301.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#673A9D
RGBrgb(103, 58, 157)
HSLhsl(267, 46%, 42%)
HSVhsv(267, 63%, 62%)
CMYKcmyk(34.4%, 63.1%, 0%, 38.4%)
CIE-LABlab(34.69, 40.38, -46.69)
CIE-LCHlch(34.69, 61.73, 310.86°)
OKLaboklab(45.44% 0.0808 -0.1325)
OKLCHoklch(45.44% 0.155 301.4)
XYZxyz(13.1909, 8.3439, 32.8073)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A9D #709D3A
analogous
#3A3E9D #673A9D #993A9D
triadic
#673A9D #9D673A #3A9D67
tetradic
#673A9D #9D3A3E #709D3A #3A9D99
square
#673A9D #9D3A3E #709D3A #3A9D99
split-complementary
#673A9D #9D993A #3E9D3A
monochromatic
#2C1944 #4A2970 #673A9D #8554C0 #A581D0

Accessibility & contrast

On white

7.87
#673A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#673A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673A9D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A9D#FFFFFF#000000##FFFFFF
##673A9D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#5C4F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673a9d;
/* rgb */ color: rgb(103, 58, 157);
/* oklch */ color: oklch(45.4% 0.155 301.4);
Tailwind
colors: {
  custom: {
    50: '#9673bb',
    500: '#673a9d',
    950: '#000000',
  },
}
SCSS
$custom: #673a9d;
$custom-light: #9673bb;
$custom-dark: #000000;
JSON
{
  "hex": "#673a9d",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 267.273,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.15521,
    "h": 301.4
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#673A9D
secondary
#9CBA79
accent
#D6529A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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