#672096#672096

#672096 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.181 H 307.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#672096
RGBrgb(103, 32, 150)
HSLhsl(276, 65%, 36%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(31.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(29.71, 51.09, -50.48)
CIE-LCHlch(29.71, 71.82, 315.34°)
OKLaboklab(41.72% 0.1099 -0.1435)
OKLCHoklch(41.72% 0.181 307.4)
XYZxyz(11.6139, 6.1188, 29.4175)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672096 #4F9620
analogous
#2C2096 #672096 #96208A
triadic
#672096 #966720 #209667
tetradic
#672096 #962C20 #4F9620 #208A96
square
#672096 #962C20 #4F9620 #208A96
split-complementary
#672096 #8A9620 #20962C
monochromatic
#220A31 #441564 #672096 #8A2BC8 #A656DB

Accessibility & contrast

On white

9.44
#672096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672096
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672096#FFFFFF#000000##FFFFFF
##6720961.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#5F3E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672096;
/* rgb */ color: rgb(103, 32, 150);
/* oklch */ color: oklch(41.7% 0.181 307.4);
Tailwind
colors: {
  custom: {
    50: '#9764b6',
    500: '#672096',
    950: '#000000',
  },
}
SCSS
$custom: #672096;
$custom-light: #9764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672096",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 276.102,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.18073,
    "h": 307.4
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#672096
secondary
#7EBE53
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672096

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

Preview Lab → · Contrast checker → · Palette generator →

#672096 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva