#671C7D#671C7D

#671C7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 317.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#671C7D
RGBrgb(103, 28, 125)
HSLhsl(286, 63%, 30%)
HSVhsv(286, 78%, 49%)
CMYKcmyk(17.6%, 77.6%, 0%, 51%)
CIE-LABlab(27.28, 47.17, -38.85)
CIE-LCHlch(27.28, 61.11, 320.52°)
OKLaboklab(39.41% 0.1182 -0.1093)
OKLCHoklch(39.41% 0.161 317.2)
XYZxyz(9.7099, 5.1952, 19.8894)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7D #327D1C
analogous
#371C7D #671C7D #7D1C62
triadic
#671C7D #7D671C #1C7D67
tetradic
#671C7D #7D371C #327D1C #1C627D
square
#671C7D #7D371C #327D1C #1C627D
split-complementary
#671C7D #627D1C #1C7D37
monochromatic
#150619 #3E114B #671C7D #9027AF #B23FD4

Accessibility & contrast

On white

10.30
#671C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C7D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7D#FFFFFF#000000##FFFFFF
##671C7D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#66314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c7d;
/* rgb */ color: rgb(103, 28, 125);
/* oklch */ color: oklch(39.4% 0.161 317.2);
Tailwind
colors: {
  custom: {
    50: '#9661a3',
    500: '#671c7d',
    950: '#000000',
  },
}
SCSS
$custom: #671c7d;
$custom-light: #9661a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7d",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 286.392,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.16103,
    "h": 317.2
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#671C7D
secondary
#5DB144
accent
#E64167
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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