#673B98#673B98

#673B98 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.148 H 302.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#673B98
RGBrgb(103, 59, 152)
HSLhsl(268, 44%, 41%)
HSVhsv(268, 61%, 60%)
CMYKcmyk(32.2%, 61.2%, 0%, 40.4%)
CIE-LABlab(34.56, 38.53, -43.87)
CIE-LCHlch(34.56, 58.39, 311.29°)
OKLaboklab(45.23% 0.0798 -0.1242)
OKLCHoklch(45.23% 0.148 302.7)
XYZxyz(12.8237, 8.2785, 30.6220)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673B98 #6C983B
analogous
#3B3E98 #673B98 #963B98
triadic
#673B98 #98673B #3B9867
tetradic
#673B98 #983B3E #6C983B #3B9896
square
#673B98 #983B3E #6C983B #3B9896
split-complementary
#673B98 #98963B #3E983B
monochromatic
#2B1940 #492A6C #673B98 #8554BD #A580CE

Accessibility & contrast

On white

7.91
#673B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#673B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673B98
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673B98#FFFFFF#000000##FFFFFF
##673B981.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509B
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#5E4E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673b98;
/* rgb */ color: rgb(103, 59, 152);
/* oklch */ color: oklch(45.2% 0.148 302.7);
Tailwind
colors: {
  custom: {
    50: '#9673b7',
    500: '#673b98',
    950: '#000000',
  },
}
SCSS
$custom: #673b98;
$custom-light: #9673b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673b98",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 268.387,
    "s": 44.076,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.14764,
    "h": 302.7
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#673B98
secondary
#99B777
accent
#D45497
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673B98

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

Preview Lab → · Contrast checker → · Palette generator →

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