#673D8B#673D8B

#673D8B is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.128 H 306.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#673D8B
RGBrgb(103, 61, 139)
HSLhsl(272, 39%, 39%)
HSVhsv(272, 56%, 55%)
CMYKcmyk(25.9%, 56.1%, 0%, 45.5%)
CIE-LABlab(34.16, 34.08, -36.56)
CIE-LCHlch(34.16, 49.98, 312.99°)
OKLaboklab(44.67% 0.0769 -0.1028)
OKLCHoklch(44.67% 0.128 306.8)
XYZxyz(11.9215, 8.0853, 25.3537)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673D8B #618B3D
analogous
#403D8B #673D8B #8B3D88
triadic
#673D8B #8B673D #3D8B67
tetradic
#673D8B #8B403D #618B3D #3D888B
square
#673D8B #8B403D #618B3D #3D888B
split-complementary
#673D8B #888B3D #3D8B40
monochromatic
#281836 #472A60 #673D8B #8652B3 #A47DC6

Accessibility & contrast

On white

8.02
#673D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#673D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673D8B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673D8B#FFFFFF#000000##FFFFFF
##673D8B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#614B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #673d8b;
/* rgb */ color: rgb(103, 61, 139);
/* oklch */ color: oklch(44.7% 0.128 306.8);
Tailwind
colors: {
  custom: {
    50: '#9574ad',
    500: '#673d8b',
    950: '#000000',
  },
}
SCSS
$custom: #673d8b;
$custom-light: #9574ad;
$custom-dark: #000000;
JSON
{
  "hex": "#673d8b",
  "rgb": {
    "r": 103,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 272.308,
    "s": 39,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44674,
    "c": 0.12839,
    "h": 306.8
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#673D8B
secondary
#90B074
accent
#CF598F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #673D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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