#672B96#672B96

#672B96 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.168 H 306.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#672B96
RGBrgb(103, 43, 150)
HSLhsl(274, 55%, 38%)
HSVhsv(274, 71%, 59%)
CMYKcmyk(31.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(31.38, 46.35, -47.78)
CIE-LCHlch(31.38, 66.56, 314.13°)
OKLaboklab(42.9% 0.099 -0.1356)
OKLCHoklch(42.9% 0.168 306.1)
XYZxyz(11.9612, 6.8134, 29.5332)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B96 #5A962B
analogous
#322B96 #672B96 #962B8F
triadic
#672B96 #96672B #2B9667
tetradic
#672B96 #96322B #5A962B #2B8F96
square
#672B96 #96322B #5A962B #2B8F96
split-complementary
#672B96 #8F962B #2B9632
monochromatic
#261037 #461D66 #672B96 #8839C6 #A468D4

Accessibility & contrast

On white

8.89
#672B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#672B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672B96
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B96#FFFFFF#000000##FFFFFF
##672B961.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#5F435D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672b96;
/* rgb */ color: rgb(103, 43, 150);
/* oklch */ color: oklch(42.9% 0.168 306.1);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#672b96',
    950: '#000000',
  },
}
SCSS
$custom: #672b96;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#672b96",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 273.645,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.16792,
    "h": 306.1
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#672B96
secondary
#89BA63
accent
#DF498B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672B96

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

Preview Lab → · Contrast checker → · Palette generator →

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