#671A7B#671A7B

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

Color values

HEX#671A7B
RGBrgb(103, 26, 123)
HSLhsl(288, 65%, 29%)
HSVhsv(288, 79%, 48%)
CMYKcmyk(16.3%, 78.9%, 0%, 51.8%)
CIE-LABlab(26.88, 47.50, -38.23)
CIE-LCHlch(26.88, 60.97, 321.17°)
OKLaboklab(39.08% 0.1204 -0.1075)
OKLCHoklch(39.08% 0.161 318.2)
XYZxyz(9.5376, 5.0529, 19.2080)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A7B #2E7B1A
analogous
#371A7B #671A7B #7B1A5F
triadic
#671A7B #7B671A #1A7B67
tetradic
#671A7B #7B371A #2E7B1A #1A5F7B
square
#671A7B #7B371A #2E7B1A #1A5F7B
split-complementary
#671A7B #5F7B1A #1A7B37
monochromatic
#150519 #3D0F48 #671A7B #9125AE #B53AD5

Accessibility & contrast

On white

10.45
#671A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A7B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A7B#FFFFFF#000000##FFFFFF
##671A7B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#662F4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671a7b;
/* rgb */ color: rgb(103, 26, 123);
/* oklch */ color: oklch(39.1% 0.161 318.2);
Tailwind
colors: {
  custom: {
    50: '#9660a2',
    500: '#671a7b',
    950: '#000000',
  },
}
SCSS
$custom: #671a7b;
$custom-light: #9660a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671a7b",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 287.629,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.1614,
    "h": 318.2
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#671A7B
secondary
#58AF42
accent
#E84062
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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