#671A7D#671A7D

#671A7D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.163 H 317.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#671A7D
RGBrgb(103, 26, 125)
HSLhsl(287, 66%, 30%)
HSVhsv(287, 79%, 49%)
CMYKcmyk(17.6%, 79.2%, 0%, 51%)
CIE-LABlab(27.03, 47.91, -39.27)
CIE-LCHlch(27.03, 61.94, 320.66°)
OKLaboklab(39.23% 0.1201 -0.1105)
OKLCHoklch(39.23% 0.163 317.4)
XYZxyz(9.6640, 5.1034, 19.8741)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A7D #307D1A
analogous
#361A7D #671A7D #7D1A61
triadic
#671A7D #7D671A #1A7D67
tetradic
#671A7D #7D361A #307D1A #1A617D
square
#671A7D #7D361A #307D1A #1A617D
split-complementary
#671A7D #617D1A #1A7D36
monochromatic
#150519 #3D0F4A #671A7D #9125B0 #B43BD6

Accessibility & contrast

On white

10.39
#671A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A7D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A7D#FFFFFF#000000##FFFFFF
##671A7D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#66304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671a7d;
/* rgb */ color: rgb(103, 26, 125);
/* oklch */ color: oklch(39.2% 0.163 317.4);
Tailwind
colors: {
  custom: {
    50: '#9660a3',
    500: '#671a7d',
    950: '#000000',
  },
}
SCSS
$custom: #671a7d;
$custom-light: #9660a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671a7d",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 286.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.16324,
    "h": 317.4
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#671A7D
secondary
#5AB142
accent
#E93F65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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