#672C96#672C96

#672C96 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.167 H 306.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#672C96
RGBrgb(103, 44, 150)
HSLhsl(273, 55%, 38%)
HSVhsv(273, 71%, 59%)
CMYKcmyk(31.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(31.55, 45.87, -47.50)
CIE-LCHlch(31.55, 66.03, 314.00°)
OKLaboklab(43.02% 0.0979 -0.1348)
OKLCHoklch(43.02% 0.167 306)
XYZxyz(11.9980, 6.8870, 29.5455)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C96 #5B962C
analogous
#322C96 #672C96 #962C90
triadic
#672C96 #96672C #2C9667
tetradic
#672C96 #96322C #5B962C #2C9096
square
#672C96 #96322C #5B962C #2C9096
split-complementary
#672C96 #90962C #2C9632
monochromatic
#261037 #471E67 #672C96 #873AC5 #A469D3

Accessibility & contrast

On white

8.83
#672C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#672C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C96
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C96#FFFFFF#000000##FFFFFF
##672C961.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672c96;
/* rgb */ color: rgb(103, 44, 150);
/* oklch */ color: oklch(43.0% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#672c96',
    950: '#000000',
  },
}
SCSS
$custom: #672c96;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#672c96",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 273.396,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.16664,
    "h": 306
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#672C96
secondary
#8ABA64
accent
#DE4A8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672C96

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

Preview Lab → · Contrast checker → · Palette generator →

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