#673C97#673C97

#673C97 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.145 H 302.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#673C97
RGBrgb(103, 60, 151)
HSLhsl(268, 43%, 41%)
HSVhsv(268, 60%, 59%)
CMYKcmyk(31.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(34.70, 37.71, -43.03)
CIE-LCHlch(34.70, 57.22, 311.23°)
OKLaboklab(45.32% 0.0785 -0.1218)
OKLCHoklch(45.32% 0.145 302.8)
XYZxyz(12.7940, 8.3496, 30.2098)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673C97 #6C973C
analogous
#3C3F97 #673C97 #953C97
triadic
#673C97 #97673C #3C9767
tetradic
#673C97 #973C3F #6C973C #3C9795
square
#673C97 #973C3F #6C973C #3C9795
split-complementary
#673C97 #97953C #3F973C
monochromatic
#2B193F #492B6B #673C97 #8555BB #A581CD

Accessibility & contrast

On white

7.87
#673C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#673C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673C97
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673C97#FFFFFF#000000##FFFFFF
##673C971.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#5E4E63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673c97;
/* rgb */ color: rgb(103, 60, 151);
/* oklch */ color: oklch(45.3% 0.145 302.8);
Tailwind
colors: {
  custom: {
    50: '#9674b6',
    500: '#673c97',
    950: '#000000',
  },
}
SCSS
$custom: #673c97;
$custom-light: #9674b6;
$custom-dark: #000000;
JSON
{
  "hex": "#673c97",
  "rgb": {
    "r": 103,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 268.352,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.14488,
    "h": 302.8
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#673C97
secondary
#99B778
accent
#D35597
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673C97

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

Preview Lab → · Contrast checker → · Palette generator →

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