#673D97#673D97

#673D97 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.143 H 302.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#673D97
RGBrgb(103, 61, 151)
HSLhsl(268, 42%, 42%)
HSVhsv(268, 60%, 59%)
CMYKcmyk(31.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(34.91, 37.14, -42.69)
CIE-LCHlch(34.91, 56.59, 311.03°)
OKLaboklab(45.47% 0.0772 -0.1208)
OKLCHoklch(45.47% 0.143 302.6)
XYZxyz(12.8469, 8.4554, 30.2274)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673D97 #6D973D
analogous
#3D4097 #673D97 #943D97
triadic
#673D97 #97673D #3D9767
tetradic
#673D97 #973D40 #6D973D #3D9794
square
#673D97 #973D40 #6D973D #3D9794
split-complementary
#673D97 #97943D #40973D
monochromatic
#2C1A40 #492B6B #673D97 #8556BB #A582CC

Accessibility & contrast

On white

7.80
#673D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#673D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673D97
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673D97#FFFFFF#000000##FFFFFF
##673D971.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#5E4F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673d97;
/* rgb */ color: rgb(103, 61, 151);
/* oklch */ color: oklch(45.5% 0.143 302.6);
Tailwind
colors: {
  custom: {
    50: '#9674b6',
    500: '#673d97',
    950: '#000000',
  },
}
SCSS
$custom: #673d97;
$custom-light: #9674b6;
$custom-dark: #000000;
JSON
{
  "hex": "#673d97",
  "rgb": {
    "r": 103,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 268,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.14333,
    "h": 302.6
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#673D97
secondary
#9AB779
accent
#D25698
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673D97

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

Preview Lab → · Contrast checker → · Palette generator →

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