#672686#672686

#672686 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.158 H 312.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#672686
RGBrgb(103, 38, 134)
HSLhsl(281, 56%, 34%)
HSVhsv(281, 72%, 53%)
CMYKcmyk(23.1%, 71.6%, 0%, 47.5%)
CIE-LABlab(29.39, 44.94, -41.11)
CIE-LCHlch(29.39, 60.90, 317.55°)
OKLaboklab(41.11% 0.1066 -0.116)
OKLCHoklch(41.11% 0.158 312.6)
XYZxyz(10.5889, 5.9913, 23.1483)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672686 #458626
analogous
#372686 #672686 #862675
triadic
#672686 #866726 #268667
tetradic
#672686 #863726 #458626 #267586
square
#672686 #863726 #458626 #267586
split-complementary
#672686 #758626 #268637
monochromatic
#1E0B27 #421856 #672686 #8C34B6 #A957CF

Accessibility & contrast

On white

9.55
#672686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#672686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672686
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672686#FFFFFF#000000##FFFFFF
##6726861.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#643A53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672686;
/* rgb */ color: rgb(103, 38, 134);
/* oklch */ color: oklch(41.1% 0.158 312.6);
Tailwind
colors: {
  custom: {
    50: '#9666aa',
    500: '#672686',
    950: '#000000',
  },
}
SCSS
$custom: #672686;
$custom-light: #9666aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672686",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 280.625,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.15756,
    "h": 312.6
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#672686
secondary
#73B454
accent
#DF4979
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672686

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

Preview Lab → · Contrast checker → · Palette generator →

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