#673E97#673E97

#673E97 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.6% C 0.142 H 302.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#673E97
RGBrgb(103, 62, 151)
HSLhsl(268, 42%, 42%)
HSVhsv(268, 59%, 59%)
CMYKcmyk(31.8%, 58.9%, 0%, 40.8%)
CIE-LABlab(35.13, 36.57, -42.34)
CIE-LCHlch(35.13, 55.95, 310.82°)
OKLaboklab(45.63% 0.0759 -0.1197)
OKLCHoklch(45.63% 0.142 302.4)
XYZxyz(12.9008, 8.5632, 30.2454)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673E97 #6E973E
analogous
#3E4297 #673E97 #943E97
triadic
#673E97 #97673E #3E9767
tetradic
#673E97 #973E42 #6E973E #3E9794
square
#673E97 #973E42 #6E973E #3E9794
split-complementary
#673E97 #97943E #42973E
monochromatic
#2C1A40 #492C6C #673E97 #8558BA #A583CC

Accessibility & contrast

On white

7.74
#673E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#673E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673E97
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673E97#FFFFFF#000000##FFFFFF
##673E971.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#5E5064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673e97;
/* rgb */ color: rgb(103, 62, 151);
/* oklch */ color: oklch(45.6% 0.142 302.4);
Tailwind
colors: {
  custom: {
    50: '#9675b6',
    500: '#673e97',
    950: '#000000',
  },
}
SCSS
$custom: #673e97;
$custom-light: #9675b6;
$custom-dark: #000000;
JSON
{
  "hex": "#673e97",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 267.64,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.14178,
    "h": 302.4
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#673E97
secondary
#9BB67A
accent
#D25699
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673E97

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

Preview Lab → · Contrast checker → · Palette generator →

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