#673F8A#673F8A

#673F8A is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.9% C 0.124 H 306.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#673F8A
RGBrgb(103, 63, 138)
HSLhsl(272, 37%, 39%)
HSVhsv(272, 54%, 54%)
CMYKcmyk(25.4%, 54.3%, 0%, 45.9%)
CIE-LABlab(34.55, 32.66, -35.33)
CIE-LCHlch(34.55, 48.12, 312.75°)
OKLaboklab(44.94% 0.074 -0.0992)
OKLCHoklch(44.94% 0.124 306.7)
XYZxyz(11.9575, 8.2737, 25.0069)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673F8A #628A3F
analogous
#423F8A #673F8A #8A3F88
triadic
#673F8A #8A673F #3F8A67
tetradic
#673F8A #8A423F #628A3F #3F888A
square
#673F8A #8A423F #628A3F #3F888A
split-complementary
#673F8A #888A3F #3F8A42
monochromatic
#281936 #482C60 #673F8A #8655B1 #A47FC5

Accessibility & contrast

On white

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

On black

2.65
#673F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##673F8A#FFFFFF#000000##FFFFFF
##673F8A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#345288
Tritanopia (blue-blind)
#624C5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673f8a;
/* rgb */ color: rgb(103, 63, 138);
/* oklch */ color: oklch(44.9% 0.124 306.7);
Tailwind
colors: {
  custom: {
    50: '#9475ac',
    500: '#673f8a',
    950: '#000000',
  },
}
SCSS
$custom: #673f8a;
$custom-light: #9475ac;
$custom-dark: #000000;
JSON
{
  "hex": "#673f8a",
  "rgb": {
    "r": 103,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 272,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4494,
    "c": 0.12378,
    "h": 306.7
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#673F8A
secondary
#91AF76
accent
#CD5B90
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #673F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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