#671D8C#671D8C

#671D8C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.174 H 311.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#671D8C
RGBrgb(103, 29, 140)
HSLhsl(280, 66%, 33%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(26.4%, 79.3%, 0%, 45.1%)
CIE-LABlab(28.53, 49.99, -46.23)
CIE-LCHlch(28.53, 68.09, 317.24°)
OKLaboklab(40.64% 0.1147 -0.131)
OKLCHoklch(40.64% 0.174 311.2)
XYZxyz(10.7656, 5.6560, 25.3305)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D8C #428C1D
analogous
#2F1D8C #671D8C #8C1D79
triadic
#671D8C #8C671D #1D8C67
tetradic
#671D8C #8C2F1D #428C1D #1D798C
square
#671D8C #8C2F1D #428C1D #1D798C
split-complementary
#671D8C #798C1D #1D8C2F
monochromatic
#1C0827 #421259 #671D8C #8C28BF #AA4AD9

Accessibility & contrast

On white

9.85
#671D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D8C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D8C#FFFFFF#000000##FFFFFF
##671D8C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671d8c;
/* rgb */ color: rgb(103, 29, 140);
/* oklch */ color: oklch(40.6% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#671d8c',
    950: '#000000',
  },
}
SCSS
$custom: #671d8c;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671d8c",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 280,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.17414,
    "h": 311.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#671D8C
secondary
#6FBC49
accent
#E93F78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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