#673A98#673A98

#673A98 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.149 H 302.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#673A98
RGBrgb(103, 58, 152)
HSLhsl(269, 45%, 41%)
HSVhsv(269, 62%, 60%)
CMYKcmyk(32.2%, 61.8%, 0%, 40.4%)
CIE-LABlab(34.35, 39.09, -44.20)
CIE-LCHlch(34.35, 59.01, 311.49°)
OKLaboklab(45.08% 0.0811 -0.1252)
OKLCHoklch(45.08% 0.149 302.9)
XYZxyz(12.7728, 8.1767, 30.6050)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A98 #6B983A
analogous
#3A3C98 #673A98 #963A98
triadic
#673A98 #98673A #3A9867
tetradic
#673A98 #983A3C #6B983A #3A9896
square
#673A98 #983A3C #6B983A #3A9896
split-complementary
#673A98 #98963A #3C983A
monochromatic
#2B183F #49296C #673A98 #8552BD #A57ECE

Accessibility & contrast

On white

7.97
#673A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#673A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673A98
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A98#FFFFFF#000000##FFFFFF
##673A981.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#205196
Tritanopia (blue-blind)
#5E4D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673a98;
/* rgb */ color: rgb(103, 58, 152);
/* oklch */ color: oklch(45.1% 0.149 302.9);
Tailwind
colors: {
  custom: {
    50: '#9672b7',
    500: '#673a98',
    950: '#000000',
  },
}
SCSS
$custom: #673a98;
$custom-light: #9672b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673a98",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 268.723,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.14916,
    "h": 302.9
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#673A98
secondary
#98B876
accent
#D45397
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673A98

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

Preview Lab → · Contrast checker → · Palette generator →

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