#671C87#671C87

#671C87 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 313.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#671C87
RGBrgb(103, 28, 135)
HSLhsl(282, 66%, 32%)
HSVhsv(282, 79%, 53%)
CMYKcmyk(23.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(28.02, 49.28, -43.95)
CIE-LCHlch(28.02, 66.03, 318.27°)
OKLaboklab(40.16% 0.1166 -0.1243)
OKLCHoklch(40.16% 0.17 313.2)
XYZxyz(10.3812, 5.4637, 23.4247)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C87 #3C871C
analogous
#321C87 #671C87 #871C72
triadic
#671C87 #87671C #1C8767
tetradic
#671C87 #87321C #3C871C #1C7287
square
#671C87 #87321C #3C871C #1C7287
split-complementary
#671C87 #72871C #1C8732
monochromatic
#1A0722 #401154 #671C87 #8E27BA #AC45D8

Accessibility & contrast

On white

10.04
#671C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#671C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C87
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C87#FFFFFF#000000##FFFFFF
##671C871.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#0F4485
Tritanopia (blue-blind)
#633551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671c87;
/* rgb */ color: rgb(103, 28, 135);
/* oklch */ color: oklch(40.2% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#671c87',
    950: '#000000',
  },
}
SCSS
$custom: #671c87;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671c87",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 282.056,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.17043,
    "h": 313.2
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#671C87
secondary
#68BA45
accent
#E93F72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671C87

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

Preview Lab → · Contrast checker → · Palette generator →

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