#671C7F#671C7F

#671C7F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.163 H 316.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#671C7F
RGBrgb(103, 28, 127)
HSLhsl(285, 64%, 30%)
HSVhsv(285, 78%, 50%)
CMYKcmyk(18.9%, 78%, 0%, 50.2%)
CIE-LABlab(27.43, 47.58, -39.88)
CIE-LCHlch(27.43, 62.09, 320.03°)
OKLaboklab(39.55% 0.118 -0.1123)
OKLCHoklch(39.55% 0.163 316.4)
XYZxyz(9.8389, 5.2468, 20.5690)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7F #347F1C
analogous
#361C7F #671C7F #7F1C65
triadic
#671C7F #7F671C #1C7F67
tetradic
#671C7F #7F361C #347F1C #1C657F
square
#671C7F #7F361C #347F1C #1C657F
split-complementary
#671C7F #657F1C #1C7F36
monochromatic
#16061B #3E114D #671C7F #9027B1 #B140D5

Accessibility & contrast

On white

10.25
#671C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C7F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7F#FFFFFF#000000##FFFFFF
##671C7F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#65324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671c7f;
/* rgb */ color: rgb(103, 28, 127);
/* oklch */ color: oklch(39.6% 0.163 316.4);
Tailwind
colors: {
  custom: {
    50: '#9661a5',
    500: '#671c7f',
    950: '#000000',
  },
}
SCSS
$custom: #671c7f;
$custom-light: #9661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7f",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 285.455,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.1629,
    "h": 316.4
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#671C7F
secondary
#5FB344
accent
#E74169
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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