#673F8B#673F8B

#673F8B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.0% C 0.125 H 306.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#673F8B
RGBrgb(103, 63, 139)
HSLhsl(272, 38%, 40%)
HSVhsv(272, 55%, 55%)
CMYKcmyk(25.9%, 54.7%, 0%, 45.5%)
CIE-LABlab(34.61, 32.92, -35.85)
CIE-LCHlch(34.61, 48.67, 312.56°)
OKLaboklab(45% 0.0741 -0.1007)
OKLCHoklch(45% 0.125 306.3)
XYZxyz(12.0303, 8.3028, 25.3899)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673F8B #638B3F
analogous
#413F8B #673F8B #8B3F89
triadic
#673F8B #8B673F #3F8B67
tetradic
#673F8B #8B413F #638B3F #3F898B
square
#673F8B #8B413F #638B3F #3F898B
split-complementary
#673F8B #898B3F #3F8B41
monochromatic
#291937 #482C61 #673F8B #8655B2 #A47FC5

Accessibility & contrast

On white

7.89
#673F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673F8B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673F8B#FFFFFF#000000##FFFFFF
##673F8B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#614D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673f8b;
/* rgb */ color: rgb(103, 63, 139);
/* oklch */ color: oklch(45.0% 0.125 306.3);
Tailwind
colors: {
  custom: {
    50: '#9575ad',
    500: '#673f8b',
    950: '#000000',
  },
}
SCSS
$custom: #673f8b;
$custom-light: #9575ad;
$custom-dark: #000000;
JSON
{
  "hex": "#673f8b",
  "rgb": {
    "r": 103,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 271.579,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.12504,
    "h": 306.3
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #673F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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