#672196#672196

#672196 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.180 H 307.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#672196
RGBrgb(103, 33, 150)
HSLhsl(276, 64%, 36%)
HSVhsv(276, 78%, 59%)
CMYKcmyk(31.3%, 78%, 0%, 41.2%)
CIE-LABlab(29.85, 50.70, -50.26)
CIE-LCHlch(29.85, 71.39, 315.25°)
OKLaboklab(41.81% 0.109 -0.1429)
OKLCHoklch(41.81% 0.18 307.3)
XYZxyz(11.6412, 6.1734, 29.4266)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672196 #509621
analogous
#2C2196 #672196 #96218A
triadic
#672196 #966721 #219667
tetradic
#672196 #962C21 #509621 #218A96
square
#672196 #962C21 #509621 #218A96
split-complementary
#672196 #8A9621 #21962C
monochromatic
#220B32 #451664 #672196 #892CC8 #A657DA

Accessibility & contrast

On white

9.40
#672196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#672196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672196
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672196#FFFFFF#000000##FFFFFF
##6721961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672196;
/* rgb */ color: rgb(103, 33, 150);
/* oklch */ color: oklch(41.8% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#9764b6',
    500: '#672196',
    950: '#000000',
  },
}
SCSS
$custom: #672196;
$custom-light: #9764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672196",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 275.897,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.17969,
    "h": 307.3
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#672196
secondary
#7FBE55
accent
#E74184
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672196

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

Preview Lab → · Contrast checker → · Palette generator →

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