#671684#671684

#671684 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.174 H 314.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#671684
RGBrgb(103, 22, 132)
HSLhsl(284, 71%, 30%)
HSVhsv(284, 83%, 52%)
CMYKcmyk(22%, 83.3%, 0%, 48.2%)
CIE-LABlab(27.08, 50.68, -43.58)
CIE-LCHlch(27.08, 66.84, 319.31°)
OKLaboklab(39.43% 0.1223 -0.1232)
OKLCHoklch(39.43% 0.174 314.8)
XYZxyz(10.0446, 5.1237, 22.2852)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671684 #338416
analogous
#301684 #671684 #84166A
triadic
#671684 #846716 #168467
tetradic
#671684 #843016 #338416 #166A84
square
#671684 #843016 #338416 #166A84
split-complementary
#671684 #6A8416 #168430
monochromatic
#15051B #3E0D50 #671684 #901FB8 #B237DE

Accessibility & contrast

On white

10.37
#671684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671684
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671684#FFFFFF#000000##FFFFFF
##6716841.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#0D4282
Tritanopia (blue-blind)
#64314E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671684;
/* rgb */ color: rgb(103, 22, 132);
/* oklch */ color: oklch(39.4% 0.174 314.8);
Tailwind
colors: {
  custom: {
    50: '#975fa8',
    500: '#671684',
    950: '#000000',
  },
}
SCSS
$custom: #671684;
$custom-light: #975fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#671684",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 284.182,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.17354,
    "h": 314.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#671684
secondary
#5EB83D
accent
#EE3A69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671684

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

Preview Lab → · Contrast checker → · Palette generator →

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