#671C8C#671C8C

#671C8C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.175 H 311.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#671C8C
RGBrgb(103, 28, 140)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 80%, 55%)
CMYKcmyk(26.4%, 80%, 0%, 45.1%)
CIE-LABlab(28.40, 50.36, -46.44)
CIE-LCHlch(28.40, 68.50, 317.32°)
OKLaboklab(40.55% 0.1156 -0.1316)
OKLCHoklch(40.55% 0.175 311.3)
XYZxyz(10.7415, 5.6078, 25.3224)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C8C #418C1C
analogous
#2F1C8C #671C8C #8C1C79
triadic
#671C8C #8C671C #1C8C67
tetradic
#671C8C #8C2F1C #418C1C #1C798C
square
#671C8C #8C2F1C #418C1C #1C798C
split-complementary
#671C8C #798C1C #1C8C2F
monochromatic
#1C0826 #411259 #671C8C #8D26BF #AA48DA

Accessibility & contrast

On white

9.90
#671C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C8C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C8C#FFFFFF#000000##FFFFFF
##671C8C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#623854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671c8c;
/* rgb */ color: rgb(103, 28, 140);
/* oklch */ color: oklch(40.5% 0.175 311.3);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#671c8c',
    950: '#000000',
  },
}
SCSS
$custom: #671c8c;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671c8c",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 280.179,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.17517,
    "h": 311.3
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#671C8C
secondary
#6EBC48
accent
#EA3E77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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