#672296#672296

#672296 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 307.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#672296
RGBrgb(103, 34, 150)
HSLhsl(276, 63%, 36%)
HSVhsv(276, 77%, 59%)
CMYKcmyk(31.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(29.98, 50.30, -50.04)
CIE-LCHlch(29.98, 70.95, 315.15°)
OKLaboklab(41.91% 0.1081 -0.1422)
OKLCHoklch(41.91% 0.179 307.2)
XYZxyz(11.6694, 6.2298, 29.4360)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672296 #519622
analogous
#2D2296 #672296 #96228B
triadic
#672296 #966722 #229667
tetradic
#672296 #962D22 #519622 #228B96
square
#672296 #962D22 #519622 #228B96
split-complementary
#672296 #8B9622 #22962D
monochromatic
#220B32 #451764 #672296 #892DC8 #A559D9

Accessibility & contrast

On white

9.35
#672296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672296
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672296#FFFFFF#000000##FFFFFF
##6722961.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672296;
/* rgb */ color: rgb(103, 34, 150);
/* oklch */ color: oklch(41.9% 0.179 307.2);
Tailwind
colors: {
  custom: {
    50: '#9765b6',
    500: '#672296',
    950: '#000000',
  },
}
SCSS
$custom: #672296;
$custom-light: #9765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672296",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 275.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.17861,
    "h": 307.2
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#672296
secondary
#80BE56
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672296

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

Preview Lab → · Contrast checker → · Palette generator →

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