#671686#671686

#671686 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.175 H 314.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#671686
RGBrgb(103, 22, 134)
HSLhsl(283, 72%, 31%)
HSVhsv(283, 84%, 53%)
CMYKcmyk(23.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(27.24, 51.10, -44.58)
CIE-LCHlch(27.24, 67.81, 318.89°)
OKLaboklab(39.59% 0.1218 -0.1261)
OKLCHoklch(39.59% 0.175 314)
XYZxyz(10.1828, 5.1790, 23.0129)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671686 #358616
analogous
#2F1686 #671686 #86166D
triadic
#671686 #866716 #168667
tetradic
#671686 #862F16 #358616 #166D86
square
#671686 #862F16 #358616 #166D86
split-complementary
#671686 #6D8616 #16862F
monochromatic
#16051D #3F0D51 #671686 #8F1FBB #B038DE

Accessibility & contrast

On white

10.32
#671686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671686
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671686#FFFFFF#000000##FFFFFF
##6716861.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#084284
Tritanopia (blue-blind)
#64324F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671686;
/* rgb */ color: rgb(103, 22, 134);
/* oklch */ color: oklch(39.6% 0.175 314.0);
Tailwind
colors: {
  custom: {
    50: '#975faa',
    500: '#671686',
    950: '#000000',
  },
}
SCSS
$custom: #671686;
$custom-light: #975faa;
$custom-dark: #000000;
JSON
{
  "hex": "#671686",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 283.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.17534,
    "h": 314
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#671686
secondary
#60BA3E
accent
#EF396B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671686

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

Preview Lab → · Contrast checker → · Palette generator →

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