#671C81#671C81

#671C81 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.165 H 315.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#671C81
RGBrgb(103, 28, 129)
HSLhsl(285, 64%, 31%)
HSVhsv(285, 78%, 51%)
CMYKcmyk(20.2%, 78.3%, 0%, 49.4%)
CIE-LABlab(27.57, 48.00, -40.91)
CIE-LCHlch(27.57, 63.07, 319.56°)
OKLaboklab(39.7% 0.1177 -0.1154)
OKLCHoklch(39.7% 0.165 315.6)
XYZxyz(9.9706, 5.2994, 21.2623)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C81 #36811C
analogous
#341C81 #671C81 #811C68
triadic
#671C81 #81671C #1C8167
tetradic
#671C81 #81341C #36811C #1C6881
square
#671C81 #81341C #36811C #1C6881
split-complementary
#671C81 #68811C #1C8134
monochromatic
#17061C #3F114F #671C81 #8F27B3 #B042D6

Accessibility & contrast

On white

10.20
#671C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C81
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C81#FFFFFF#000000##FFFFFF
##671C811.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#65334E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671c81;
/* rgb */ color: rgb(103, 28, 129);
/* oklch */ color: oklch(39.7% 0.165 315.6);
Tailwind
colors: {
  custom: {
    50: '#9661a6',
    500: '#671c81',
    950: '#000000',
  },
}
SCSS
$custom: #671c81;
$custom-light: #9661a6;
$custom-dark: #000000;
JSON
{
  "hex": "#671c81",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 284.554,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39702,
    "c": 0.16477,
    "h": 315.6
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#671C81
secondary
#61B444
accent
#E7406B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C81

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

Preview Lab → · Contrast checker → · Palette generator →

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