#673A9B#673A9B

#673A9B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.153 H 302.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#673A9B
RGBrgb(103, 58, 155)
HSLhsl(268, 46%, 42%)
HSVhsv(268, 63%, 61%)
CMYKcmyk(33.5%, 62.6%, 0%, 39.2%)
CIE-LABlab(34.55, 39.86, -45.70)
CIE-LCHlch(34.55, 60.64, 311.10°)
OKLaboklab(45.29% 0.0809 -0.1296)
OKLCHoklch(45.29% 0.153 302)
XYZxyz(13.0216, 8.2762, 31.9154)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A9B #6E9B3A
analogous
#3A3E9B #673A9B #983A9B
triadic
#673A9B #9B673A #3A9B67
tetradic
#673A9B #9B3A3E #6E9B3A #3A9B98
square
#673A9B #9B3A3E #6E9B3A #3A9B98
split-complementary
#673A9B #9B983A #3E9B3A
monochromatic
#2C1942 #49296E #673A9B #8553BF #A580CF

Accessibility & contrast

On white

7.91
#673A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673A9B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A9B#FFFFFF#000000##FFFFFF
##673A9B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#5D4E65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673a9b;
/* rgb */ color: rgb(103, 58, 155);
/* oklch */ color: oklch(45.3% 0.153 302.0);
Tailwind
colors: {
  custom: {
    50: '#9673b9',
    500: '#673a9b',
    950: '#000000',
  },
}
SCSS
$custom: #673a9b;
$custom-light: #9673b9;
$custom-dark: #000000;
JSON
{
  "hex": "#673a9b",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 267.835,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.15279,
    "h": 302
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#673A9B
secondary
#9BB978
accent
#D55399
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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