#673A9C#673A9C

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

Color values

HEX#673A9C
RGBrgb(103, 58, 156)
HSLhsl(268, 46%, 42%)
HSVhsv(268, 63%, 61%)
CMYKcmyk(34%, 62.8%, 0%, 38.8%)
CIE-LABlab(34.62, 40.12, -46.19)
CIE-LCHlch(34.62, 61.18, 310.98°)
OKLaboklab(45.36% 0.0809 -0.131)
OKLCHoklch(45.36% 0.154 301.7)
XYZxyz(13.1059, 8.3099, 32.3596)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A9C #6F9C3A
analogous
#3A3E9C #673A9C #983A9C
triadic
#673A9C #9C673A #3A9C67
tetradic
#673A9C #9C3A3E #6F9C3A #3A9C98
square
#673A9C #9C3A3E #6F9C3A #3A9C98
split-complementary
#673A9C #9C983A #3E9C3A
monochromatic
#2C1943 #4A296F #673A9C #8554BF #A580D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##673A9C#FFFFFF#000000##FFFFFF
##673A9C1.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)
#00519F
Deuteranopia (green-blind)
#1A519A
Tritanopia (blue-blind)
#5C4F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673a9c;
/* rgb */ color: rgb(103, 58, 156);
/* oklch */ color: oklch(45.4% 0.154 301.7);
Tailwind
colors: {
  custom: {
    50: '#9673ba',
    500: '#673a9c',
    950: '#000000',
  },
}
SCSS
$custom: #673a9c;
$custom-light: #9673ba;
$custom-dark: #000000;
JSON
{
  "hex": "#673a9c",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 267.551,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.154,
    "h": 301.7
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#673A9C
secondary
#9CBA78
accent
#D55299
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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