#673A9A#673A9A

#673A9A is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.152 H 302.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#673A9A
RGBrgb(103, 58, 154)
HSLhsl(268, 45%, 42%)
HSVhsv(268, 62%, 60%)
CMYKcmyk(33.1%, 62.3%, 0%, 39.6%)
CIE-LABlab(34.48, 39.60, -45.20)
CIE-LCHlch(34.48, 60.10, 311.22°)
OKLaboklab(45.22% 0.081 -0.1281)
OKLCHoklch(45.22% 0.152 302.3)
XYZxyz(12.9380, 8.2427, 31.4750)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A9A #6D9A3A
analogous
#3A3D9A #673A9A #973A9A
triadic
#673A9A #9A673A #3A9A67
tetradic
#673A9A #9A3A3D #6D9A3A #3A9A97
square
#673A9A #9A3A3D #6D9A3A #3A9A97
split-complementary
#673A9A #9A973A #3D9A3A
monochromatic
#2C1941 #49296E #673A9A #8553BE #A57FCF

Accessibility & contrast

On white

7.93
#673A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#673A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673A9A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A9A#FFFFFF#000000##FFFFFF
##673A9A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#5D4E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #673a9a;
/* rgb */ color: rgb(103, 58, 154);
/* oklch */ color: oklch(45.2% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#9672b8',
    500: '#673a9a',
    950: '#000000',
  },
}
SCSS
$custom: #673a9a;
$custom-light: #9672b8;
$custom-dark: #000000;
JSON
{
  "hex": "#673a9a",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 268.125,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.15158,
    "h": 302.3
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#673A9A
secondary
#9AB977
accent
#D55398
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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