#672D9A#672D9A

#672D9A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.170 H 304.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#672D9A
RGBrgb(103, 45, 154)
HSLhsl(272, 55%, 39%)
HSVhsv(272, 71%, 60%)
CMYKcmyk(33.1%, 70.8%, 0%, 39.6%)
CIE-LABlab(32.02, 46.36, -49.18)
CIE-LCHlch(32.02, 67.59, 313.31°)
OKLaboklab(43.45% 0.0963 -0.1398)
OKLCHoklch(43.45% 0.17 304.6)
XYZxyz(12.3633, 7.0935, 31.2834)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D9A #609A2D
analogous
#312D9A #672D9A #9A2D97
triadic
#672D9A #9A672D #2D9A67
tetradic
#672D9A #9A312D #609A2D #2D979A
square
#672D9A #9A312D #609A2D #2D979A
split-complementary
#672D9A #979A2D #2D9A31
monochromatic
#28113B #471F6B #672D9A #863EC7 #A46DD4

Accessibility & contrast

On white

8.68
#672D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#672D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D9A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D9A#FFFFFF#000000##FFFFFF
##672D9A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5D4660
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672d9a;
/* rgb */ color: rgb(103, 45, 154);
/* oklch */ color: oklch(43.4% 0.170 304.6);
Tailwind
colors: {
  custom: {
    50: '#976bb8',
    500: '#672d9a',
    950: '#000000',
  },
}
SCSS
$custom: #672d9a;
$custom-light: #976bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#672d9a",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 271.927,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.1697,
    "h": 304.6
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#672D9A
secondary
#8FBB67
accent
#DE4A8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672D9A

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

Preview Lab → · Contrast checker → · Palette generator →

#672D9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva