#673B9A#673B9A

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

Color values

HEX#673B9A
RGBrgb(103, 59, 154)
HSLhsl(268, 45%, 42%)
HSVhsv(268, 62%, 60%)
CMYKcmyk(33.1%, 61.7%, 0%, 39.6%)
CIE-LABlab(34.69, 39.05, -44.87)
CIE-LCHlch(34.69, 59.48, 311.03°)
OKLaboklab(45.37% 0.0797 -0.1272)
OKLCHoklch(45.37% 0.15 302.1)
XYZxyz(12.9889, 8.3446, 31.4920)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673B9A #6E9A3B
analogous
#3B3F9A #673B9A #973B9A
triadic
#673B9A #9A673B #3B9A67
tetradic
#673B9A #9A3B3F #6E9A3B #3B9A97
square
#673B9A #9A3B3F #6E9A3B #3B9A97
split-complementary
#673B9A #9A973B #3F9A3B
monochromatic
#2C1942 #492A6E #673B9A #8555BE #A581CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##673B9A#FFFFFF#000000##FFFFFF
##673B9A1.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)
#02519D
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#5D4F65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673b9a;
/* rgb */ color: rgb(103, 59, 154);
/* oklch */ color: oklch(45.4% 0.150 302.1);
Tailwind
colors: {
  custom: {
    50: '#9673b8',
    500: '#673b9a',
    950: '#000000',
  },
}
SCSS
$custom: #673b9a;
$custom-light: #9673b8;
$custom-dark: #000000;
JSON
{
  "hex": "#673b9a",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 267.789,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.15008,
    "h": 302.1
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#673B9A
secondary
#9BB878
accent
#D45399
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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