#672A96#672A96

#672A96 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.169 H 306.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#672A96
RGBrgb(103, 42, 150)
HSLhsl(274, 56%, 38%)
HSVhsv(274, 72%, 59%)
CMYKcmyk(31.3%, 72%, 0%, 41.2%)
CIE-LABlab(31.21, 46.81, -48.05)
CIE-LCHlch(31.21, 67.08, 314.26°)
OKLaboklab(42.78% 0.1001 -0.1364)
OKLCHoklch(42.78% 0.169 306.3)
XYZxyz(11.9253, 6.7416, 29.5213)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A96 #59962A
analogous
#312A96 #672A96 #962A8F
triadic
#672A96 #96672A #2A9667
tetradic
#672A96 #96312A #59962A #2A8F96
square
#672A96 #96312A #59962A #2A8F96
split-complementary
#672A96 #8F962A #2A9631
monochromatic
#250F36 #461D66 #672A96 #8837C6 #A466D4

Accessibility & contrast

On white

8.94
#672A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#672A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A96
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A96#FFFFFF#000000##FFFFFF
##672A961.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#014A94
Tritanopia (blue-blind)
#5F435D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672a96;
/* rgb */ color: rgb(103, 42, 150);
/* oklch */ color: oklch(42.8% 0.169 306.3);
Tailwind
colors: {
  custom: {
    50: '#9769b6',
    500: '#672a96',
    950: '#000000',
  },
}
SCSS
$custom: #672a96;
$custom-light: #9769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672a96",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 273.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.1692,
    "h": 306.3
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#672A96
secondary
#88BA61
accent
#E0488A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672A96

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

Preview Lab → · Contrast checker → · Palette generator →

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