#673A97#673A97

#673A97 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.148 H 303.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#673A97
RGBrgb(103, 58, 151)
HSLhsl(269, 44%, 41%)
HSVhsv(269, 62%, 59%)
CMYKcmyk(31.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(34.28, 38.83, -43.70)
CIE-LCHlch(34.28, 58.46, 311.62°)
OKLaboklab(45.01% 0.0811 -0.1237)
OKLCHoklch(45.01% 0.148 303.2)
XYZxyz(12.6912, 8.1441, 30.1755)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A97 #6A973A
analogous
#3A3B97 #673A97 #953A97
triadic
#673A97 #97673A #3A9767
tetradic
#673A97 #973A3B #6A973A #3A9795
square
#673A97 #973A3B #6A973A #3A9795
split-complementary
#673A97 #97953A #3B973A
monochromatic
#2B183F #49296B #673A97 #8552BC #A47ECD

Accessibility & contrast

On white

7.99
#673A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#673A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673A97
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A97#FFFFFF#000000##FFFFFF
##673A971.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#5E4D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673a97;
/* rgb */ color: rgb(103, 58, 151);
/* oklch */ color: oklch(45.0% 0.148 303.2);
Tailwind
colors: {
  custom: {
    50: '#9672b6',
    500: '#673a97',
    950: '#000000',
  },
}
SCSS
$custom: #673a97;
$custom-light: #9672b6;
$custom-dark: #000000;
JSON
{
  "hex": "#673a97",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 269.032,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.14794,
    "h": 303.2
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#673A97
secondary
#97B776
accent
#D45496
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673A97

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

Preview Lab → · Contrast checker → · Palette generator →

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