#671C7C#671C7C

#671C7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.160 H 317.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#671C7C
RGBrgb(103, 28, 124)
HSLhsl(287, 63%, 30%)
HSVhsv(287, 77%, 49%)
CMYKcmyk(16.9%, 77.4%, 0%, 51.4%)
CIE-LABlab(27.21, 46.96, -38.33)
CIE-LCHlch(27.21, 60.62, 320.78°)
OKLaboklab(39.34% 0.1184 -0.1078)
OKLCHoklch(39.34% 0.16 317.7)
XYZxyz(9.6463, 5.1697, 19.5546)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7C #317C1C
analogous
#371C7C #671C7C #7C1C61
triadic
#671C7C #7C671C #1C7C67
tetradic
#671C7C #7C371C #317C1C #1C617C
square
#671C7C #7C371C #317C1C #1C617C
split-complementary
#671C7C #617C1C #1C7C37
monochromatic
#150619 #3E114A #671C7C #9027AE #B33FD4

Accessibility & contrast

On white

10.33
#671C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C7C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7C#FFFFFF#000000##FFFFFF
##671C7C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#1F437A
Tritanopia (blue-blind)
#66304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c7c;
/* rgb */ color: rgb(103, 28, 124);
/* oklch */ color: oklch(39.3% 0.160 317.7);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#671c7c',
    950: '#000000',
  },
}
SCSS
$custom: #671c7c;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7c",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 286.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.1601,
    "h": 317.7
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#671C7C
secondary
#5CB044
accent
#E64266
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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