#671B7A#671B7A

#671B7A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.159 H 318.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#671B7A
RGBrgb(103, 27, 122)
HSLhsl(288, 64%, 29%)
HSVhsv(288, 78%, 48%)
CMYKcmyk(15.6%, 77.9%, 0%, 52.2%)
CIE-LABlab(26.94, 46.93, -37.50)
CIE-LCHlch(26.94, 60.07, 321.37°)
OKLaboklab(39.1% 0.1196 -0.1054)
OKLCHoklch(39.1% 0.159 318.6)
XYZxyz(9.4978, 5.0730, 18.8875)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7A #2E7A1B
analogous
#381B7A #671B7A #7A1B5E
triadic
#671B7A #7A671B #1B7A67
tetradic
#671B7A #7A381B #2E7A1B #1B5E7A
square
#671B7A #7A381B #2E7A1B #1B5E7A
split-complementary
#671B7A #5E7A1B #1B7A38
monochromatic
#150619 #3D1048 #671B7A #9126AC #B53CD4

Accessibility & contrast

On white

10.42
#671B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B7A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7A#FFFFFF#000000##FFFFFF
##671B7A1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#672F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671b7a;
/* rgb */ color: rgb(103, 27, 122);
/* oklch */ color: oklch(39.1% 0.159 318.6);
Tailwind
colors: {
  custom: {
    50: '#9660a1',
    500: '#671b7a',
    950: '#000000',
  },
}
SCSS
$custom: #671b7a;
$custom-light: #9660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7a",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 288,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39098,
    "c": 0.15937,
    "h": 318.6
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#671B7A
secondary
#58AE43
accent
#E74162
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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