#671C7E#671C7E

#671C7E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.162 H 316.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#671C7E
RGBrgb(103, 28, 126)
HSLhsl(286, 64%, 30%)
HSVhsv(286, 78%, 49%)
CMYKcmyk(18.3%, 77.8%, 0%, 50.6%)
CIE-LABlab(27.35, 47.38, -39.37)
CIE-LCHlch(27.35, 61.60, 320.27°)
OKLaboklab(39.48% 0.1181 -0.1108)
OKLCHoklch(39.48% 0.162 316.8)
XYZxyz(9.7741, 5.2208, 20.2275)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7E #337E1C
analogous
#361C7E #671C7E #7E1C64
triadic
#671C7E #7E671C #1C7E67
tetradic
#671C7E #7E361C #337E1C #1C647E
square
#671C7E #7E361C #337E1C #1C647E
split-complementary
#671C7E #647E1C #1C7E36
monochromatic
#15061A #3E114C #671C7E #9027B0 #B240D5

Accessibility & contrast

On white

10.27
#671C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C7E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7E#FFFFFF#000000##FFFFFF
##671C7E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#66314C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671c7e;
/* rgb */ color: rgb(103, 28, 126);
/* oklch */ color: oklch(39.5% 0.162 316.8);
Tailwind
colors: {
  custom: {
    50: '#9661a4',
    500: '#671c7e',
    950: '#000000',
  },
}
SCSS
$custom: #671c7e;
$custom-light: #9661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7e",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 285.918,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.16197,
    "h": 316.8
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#671C7E
secondary
#5EB244
accent
#E74168
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7E

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

Preview Lab → · Contrast checker → · Palette generator →

#671C7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva